Barış Soner Uşaklı 3 years ago
parent a41bf89645
commit d5adc6e268

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

Loading…
Cancel
Save