phpBB

Code Changes

File: styles/prosilver/template/ajax.js

  Unmodified   Added   Modified   Removed
Line 132Line 132

// Update the unread count.
$('strong', '#notification_list_button').html(unreadCount);


// Update the unread count.
$('strong', '#notification_list_button').html(unreadCount);

	// Remove the Mark all read link if there are no unread notifications.

	// Remove the Mark all read link and hide notification count if there are no unread notifications.

	if (!unreadCount) {
$('#mark_all_notifications').remove();

	if (!unreadCount) {
$('#mark_all_notifications').remove();

 
		$('#notification_list_button > strong').addClass('hidden');

	}

// Update page title

	}

// Update page title