[ticket/11103] Return false to prevent appending # to the URL

PHPBB3-11103
This commit is contained in:
Nathan Guse 2012-10-16 18:14:06 -05:00
parent 92b533aad3
commit 0d098ae5e5
2 changed files with 2 additions and 1 deletions

View file

@ -79,6 +79,7 @@ $('#qr_full_editor').click(function() {
// Toggle notification list
$('#notification_list_button').click(function() {
$('#notification_list').toggle();
return false;
});
$('#phpbb').click(function(e) {
var target = e.target;

View file

@ -150,7 +150,7 @@ function marklist(id, name, state)
<tr>
<td class="genmed">
<!-- IF S_NOTIFICATIONS_DISPLAY -->
[ <a href="#" id="notification_list_button" title="{NOTIFICATIONS_COUNT}" onclick="$('#notification_list').toggle();">{NOTIFICATIONS_COUNT}</a> ] &bull;
[ <a href="#" id="notification_list_button" title="{NOTIFICATIONS_COUNT}" onclick="$('#notification_list').toggle(); return false;">{NOTIFICATIONS_COUNT}</a> ] &bull;
<div id="notification_list" class="notification_list">
<div class="row1 header">
{L_NOTIFICATIONS}