fix(core): update

This commit is contained in:
Philipp Kunz 2020-06-28 16:42:30 +00:00
parent 6c92a9cdf8
commit 90f68965bb

View File

@ -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(
const scroller = new plugins.sweetscroll({ 'DOMContentLoaded',
/* some options */ () => {
}); const scroller = new plugins.sweetscroll({
}); /* some options */
});
},
false,
);
} }
private runOnceTrackerStringMap = new Stringmap(); private runOnceTrackerStringMap = new Stringmap();