2025-2-26-fixed
This commit is contained in:
22
themes/fluid/source/js/boot.js
Normal file
22
themes/fluid/source/js/boot.js
Normal file
@ -0,0 +1,22 @@
|
||||
/* global Fluid */
|
||||
|
||||
Fluid.boot = {};
|
||||
|
||||
Fluid.boot.registerEvents = function() {
|
||||
Fluid.events.billboard();
|
||||
Fluid.events.registerNavbarEvent();
|
||||
Fluid.events.registerParallaxEvent();
|
||||
Fluid.events.registerScrollDownArrowEvent();
|
||||
Fluid.events.registerScrollTopArrowEvent();
|
||||
Fluid.events.registerImageLoadedEvent();
|
||||
};
|
||||
|
||||
Fluid.boot.refresh = function() {
|
||||
Fluid.plugins.fancyBox();
|
||||
Fluid.plugins.codeWidget();
|
||||
Fluid.events.refresh();
|
||||
};
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
Fluid.boot.registerEvents();
|
||||
});
|
||||
Reference in New Issue
Block a user