|
|
@ -10,13 +10,14 @@ $(document).ready(function () {
|
|
|
|
$(window).on('resize', utils.debounce(configureNavbarHiding, 200));
|
|
|
|
$(window).on('resize', utils.debounce(configureNavbarHiding, 200));
|
|
|
|
$(window).on('resize', updatePanelOffset);
|
|
|
|
$(window).on('resize', updatePanelOffset);
|
|
|
|
|
|
|
|
|
|
|
|
$(window).on('action:app.load', function () {
|
|
|
|
require(['hooks'], (hooks) => {
|
|
|
|
setupTaskbar();
|
|
|
|
hooks.on('action:app.load', () => {
|
|
|
|
setupMobileMenu();
|
|
|
|
setupTaskbar();
|
|
|
|
|
|
|
|
setupMobileMenu();
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
function updatePanelOffset() {
|
|
|
|
function updatePanelOffset() {
|
|
|
|
var env = utils.findBootstrapEnvironment();
|
|
|
|
|
|
|
|
const headerEl = document.getElementById('header-menu');
|
|
|
|
const headerEl = document.getElementById('header-menu');
|
|
|
|
|
|
|
|
|
|
|
|
if (!headerEl) {
|
|
|
|
if (!headerEl) {
|
|
|
|