Commit d58ee200 authored by henzzapp's avatar henzzapp Committed by Artem Sylchuk
Browse files

Issue #3041599 by henzzapp, phjou: Incompatibility with Core big_pipe module

parent 576fe58f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,6 +31,8 @@ Drupal.PrivateMessageNotificationBlock = {};
  }

  function updateCount(unreadThreadCount) {
    notificationWrapper = $('.private-message-notification-wrapper');

    if (unreadThreadCount) {
      notificationWrapper.addClass('unread-threads');
    }
@@ -99,8 +101,6 @@ Drupal.PrivateMessageNotificationBlock = {};
    if (!initialized) {
      initialized = true;

      notificationWrapper = $('.private-message-notification-wrapper');

      if (drupalSettings.privateMessageNotificationBlock.ajaxRefreshRate) {
        refreshRate = drupalSettings.privateMessageNotificationBlock.ajaxRefreshRate * 1000;
        if (refreshRate) {