From cf56a370b34cff45949dc88fa8cc5fb071b283b2 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 8 Oct 2015 15:56:11 -0500 Subject: [PATCH] fix(ripple): register tapClick after config/platform Closes #267 --- ionic/config/bootstrap.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);