Skip to content

Commit

Permalink
change classes to ids where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
amdomanska committed Sep 27, 2023
1 parent d95d0d9 commit 64452b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion portality/static/js/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ doaj.notifications.notificationsReceived = function(data) {
}

$(".notification_action_link").on("click", doaj.notifications.notificationClicked);
$(".dropdown--notifications").hoverIntent(doaj.notifications.showDropdown, doaj.notifications.hideDropdown);
$("#notifications_nav").hoverIntent(doaj.notifications.showDropdown, doaj.notifications.hideDropdown);
}

doaj.notifications.showDropdown = function(e) {
Expand Down
2 changes: 1 addition & 1 deletion portality/templates/layouts/dashboard_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h2 class="sr-only">DOAJ Dashboard</h2>
<ul class="unstyled-list flex-center">
{% include "includes/_tourist_nav.html" %}
{# ~~->Notifications:Feature~~ #}
<li class="dropdown--notifications flex-center" id="notifications_nav">
<li class="dropdown flex-center" id="notifications_nav">
<a href="/dashboard/notifications" class="dropdown__trigger label" id="dropdown__trigger--notifications" role="button" aria-haspopup="true" aria-expanded="false">
<span><span data-feather="bell" aria-hidden="true"></span> Notifications <span class="js-notifications-count"></span></span>
</a>
Expand Down

0 comments on commit 64452b4

Please sign in to comment.