|
|
|
@ -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
|
|
|
|
@ -124,6 +124,10 @@ $(document).ready(function() {
|
|
|
|
|
'tolerance': 70,
|
|
|
|
|
'side': 'right'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if (env !== 'xs') {
|
|
|
|
|
slideout.disableTouch();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$('#mobile-menu').on('click', function() {
|
|
|
|
|
slideout.toggle();
|
|
|
|
|