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() {
// 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();