mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: remove use of 'hidden' class in navbar toggling
This commit is contained in:
@@ -445,7 +445,7 @@ app.cacheBuster = null;
|
||||
app.toggleNavbar = function (state) {
|
||||
var navbarEl = $('.navbar');
|
||||
if (navbarEl) {
|
||||
navbarEl.toggleClass('hidden', !state);
|
||||
navbarEl[state ? 'show' : 'hide']();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user