fix(core): update
This commit is contained in:
parent
6c92a9cdf8
commit
90f68965bb
@ -71,11 +71,15 @@ export class DomTools {
|
||||
|
||||
constructor() {
|
||||
// lets care about third party stuff
|
||||
this.domToolsReady.promise.then(() => {
|
||||
const scroller = new plugins.sweetscroll({
|
||||
/* some options */
|
||||
});
|
||||
});
|
||||
document.addEventListener(
|
||||
'DOMContentLoaded',
|
||||
() => {
|
||||
const scroller = new plugins.sweetscroll({
|
||||
/* some options */
|
||||
});
|
||||
},
|
||||
false,
|
||||
);
|
||||
}
|
||||
|
||||
private runOnceTrackerStringMap = new Stringmap();
|
||||
|
Loading…
Reference in New Issue
Block a user