fix(core): update
This commit is contained in:
		| @@ -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(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user