|
|
|
@ -2,7 +2,9 @@
|
|
|
|
|
|
|
|
|
|
$(document).ready(function () {
|
|
|
|
|
setupNProgress();
|
|
|
|
|
setupTaskbar();
|
|
|
|
|
setupEditedByIcon();
|
|
|
|
|
setupMobileMenu();
|
|
|
|
|
setupQuickReply();
|
|
|
|
|
configureNavbarHiding();
|
|
|
|
|
updatePanelOffset();
|
|
|
|
@ -10,13 +12,6 @@ $(document).ready(function () {
|
|
|
|
|
$(window).on('resize', utils.debounce(configureNavbarHiding, 200));
|
|
|
|
|
$(window).on('resize', updatePanelOffset);
|
|
|
|
|
|
|
|
|
|
require(['hooks'], (hooks) => {
|
|
|
|
|
hooks.on('action:app.load', () => {
|
|
|
|
|
setupTaskbar();
|
|
|
|
|
setupMobileMenu();
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function updatePanelOffset() {
|
|
|
|
|
const headerEl = document.getElementById('header-menu');
|
|
|
|
|
|
|
|
|
|