Skip to content

Commit

Permalink
Fix navicon
Browse files Browse the repository at this point in the history
  • Loading branch information
cuom1999 committed Jun 25, 2024
1 parent 0470bfe commit 73541ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -726,10 +726,7 @@ function onWindowReady() {
registerNavigation();
registerPopper($('#nav-lang-icon'), $('#lang-dropdown'));
registerPopper($('#user-links'), $('#userlink_dropdown'));
}

$(function() {
onWindowReady();
var $nav_list = $('#nav-list');
$('#navicon').click(function (event) {
event.stopPropagation();
Expand Down Expand Up @@ -768,7 +765,10 @@ $(function() {
$('html').click(function () {
$nav_list.hide();
});
}

$(function() {
onWindowReady();
$(window).on('beforeunload', saveCurrentPageToSessionStorage);

if (window.performance &&
Expand Down

0 comments on commit 73541ef

Please sign in to comment.