File: styles/prosilver/template/ajax.js
Unmodified
Added
Modified
Removed
Line 101 | Line 101 |
---|
phpbb.addAjaxCallback('notification.mark_all_read', function(res) { if (typeof res.success !== 'undefined') { phpbb.markNotifications($('#notification_list li.bg2'), 0);
|
phpbb.addAjaxCallback('notification.mark_all_read', function(res) { if (typeof res.success !== 'undefined') { phpbb.markNotifications($('#notification_list li.bg2'), 0);
|
| phpbb.toggleDropdown.call($('#notification_list_button'));
|
phpbb.closeDarkenWrapper(3000); } });
| phpbb.closeDarkenWrapper(3000); } });
|
Line 335 | Line 336 |
---|
}); } });
|
}); } });
|
| |
/** * This simply appends #preview to the action of the
| /** * This simply appends #preview to the action of the
|
Line 359 | Line 359 |
---|
$('#post_content' + postId).show(); $('#profile' + postId).show(); $('#post_hidden' + postId).hide();
|
$('#post_content' + postId).show(); $('#profile' + postId).show(); $('#post_hidden' + postId).hide();
|
| });
/** * Display hidden post on post review page */ $('.display_post_review').on('click', function(e) { e.preventDefault();
let $displayPostLink = $(this); $displayPostLink.closest('.post-ignore').removeClass('post-ignore'); $displayPostLink.hide();
|
});
/**
| });
/**
|