diff --git a/seahub/notifications/templates/notifications/user_notification_list.html b/seahub/notifications/templates/notifications/user_notification_list.html index 2273d881c1..8aa2f3052e 100644 --- a/seahub/notifications/templates/notifications/user_notification_list.html +++ b/seahub/notifications/templates/notifications/user_notification_list.html @@ -52,9 +52,6 @@ $('#mark-all-read').click(function() { dataType: 'json', beforeSend: prepareCSRFToken, success: function() { - var msg_ct = $("#msg-count"); - $('.num', msg_ct).html(0).addClass('hide'); - document.title = msg_ct.data('orig_doc_title'); unread_items.removeClass('unread').addClass('read'); }, error: ajaxErrorHandler