Fix navicon

This commit is contained in:
cuom1999 2024-06-24 22:40:24 -05:00
parent 0470bfec68
commit 73541ef8dd

View file

@ -726,10 +726,7 @@ function onWindowReady() {
registerNavigation(); registerNavigation();
registerPopper($('#nav-lang-icon'), $('#lang-dropdown')); registerPopper($('#nav-lang-icon'), $('#lang-dropdown'));
registerPopper($('#user-links'), $('#userlink_dropdown')); registerPopper($('#user-links'), $('#userlink_dropdown'));
}
$(function() {
onWindowReady();
var $nav_list = $('#nav-list'); var $nav_list = $('#nav-list');
$('#navicon').click(function (event) { $('#navicon').click(function (event) {
event.stopPropagation(); event.stopPropagation();
@ -768,7 +765,10 @@ $(function() {
$('html').click(function () { $('html').click(function () {
$nav_list.hide(); $nav_list.hide();
}); });
}
$(function() {
onWindowReady();
$(window).on('beforeunload', saveCurrentPageToSessionStorage); $(window).on('beforeunload', saveCurrentPageToSessionStorage);
if (window.performance && if (window.performance &&