fixes NodeBB/NodeBB#4483 (#277)

main
pichalite 9 years ago committed by Julian Lam
parent 6e3c87265b
commit 5d249ee913

@ -3,13 +3,13 @@
/*globals ajaxify, config, utils, app, socket, Slideout, NProgress*/
$(document).ready(function() {
var env = utils.findBootstrapEnvironment();
setupNProgress();
setupTaskbar();
setupEditedByIcon();
setupMobileMenu();
var env = utils.findBootstrapEnvironment();
if (env === 'xs' || env ==='sm') {
$(".navbar-fixed-top").autoHidingNavbar({
showOnBottom: false
@ -125,6 +125,10 @@ $(document).ready(function() {
'side': 'right'
});
if (env !== 'xs') {
slideout.disableTouch();
}
$('#mobile-menu').on('click', function() {
slideout.toggle();
});

Loading…
Cancel
Save