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