mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-83002-404' of https://github.com/marinaglancy/moodle into MOODLE_404_STABLE
This commit is contained in:
commit
1427cd178c
2
theme/boost/amd/build/drawers.min.js
vendored
2
theme/boost/amd/build/drawers.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -813,7 +813,7 @@ const registerListeners = () => {
|
||||
document.addEventListener('focusin', preventOverlap);
|
||||
document.addEventListener('focusout', preventOverlap);
|
||||
|
||||
window.addEventListener('resize', debounce(closeOnResizeListener, 400));
|
||||
window.addEventListener('resize', debounce(closeOnResizeListener, 400, {pending: true}));
|
||||
};
|
||||
|
||||
registerListeners();
|
||||
|
@ -57,5 +57,8 @@
|
||||
</div>
|
||||
</div>
|
||||
{{#js}}
|
||||
require(['theme_boost/drawers']);
|
||||
M.util.js_pending('theme_boost/drawers:load');
|
||||
require(['theme_boost/drawers'], function() {
|
||||
M.util.js_complete('theme_boost/drawers:load');
|
||||
});
|
||||
{{/js}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user