diff --git a/ionic/config/bootstrap.ts b/ionic/config/bootstrap.ts index 2da39aa8f4..4e1079c875 100644 --- a/ionic/config/bootstrap.ts +++ b/ionic/config/bootstrap.ts @@ -25,15 +25,15 @@ export function ionicBindings(rootCmp, config) { config = new IonicConfig(config); } - let events = new Events(); - let tapClick = new TapClick(app, config, window, document); - platform.url(window.location.href); platform.userAgent(window.navigator.userAgent); platform.navigatorPlatform(window.navigator.platform); platform.load(); config.setPlatform(platform); + let events = new Events(); + let tapClick = new TapClick(app, config, window, document); + setupDom(window, document, config, platform); bindEvents(window, document, platform, events);