use href='javascript:;' instead of href='#notifications', etc
authorRodney Ewing <ewing.rj@gmail.com>
Tue, 20 Aug 2013 14:18:48 +0000 (07:18 -0700)
committerRodney Ewing <ewing.rj@gmail.com>
Tue, 20 Aug 2013 14:18:48 +0000 (07:18 -0700)
mediagoblin/templates/mediagoblin/base.html

index 880274729893bbc726898250f75654a5beaf051a..f7e2dff0ffd1b1627e8aa06a4779022549e065d7 100644 (file)
 
                 {% set notification_count = get_notification_count(request.user.id) %}
                 {% if notification_count %}
-                  <a href="#notifications" class="notification-gem button_action" title="Notifications">
+                  <a href="javascript:;" class="notification-gem button_action" title="Notifications">
                   {{ notification_count }}</a>
                 {% endif %}
-                <a href="#header" class="button_action header_dropdown_down">&#9660;</a>
-                <a href="#no_header" class="button_action header_dropdown_up">&#9650;</a>
+                <a href="javascript:;" class="button_action header_dropdown_down">&#9660;</a>
+                <a href="javascript:;" class="button_action header_dropdown_up">&#9650;</a>
               {% elif request.user and request.user.status == "needs_email_verification" %}
               {# the following link should only appear when verification is needed #}
                 <a href="{{ request.urlgen('mediagoblin.user_pages.user_home',