Index: lib/appSupport.js |
=================================================================== |
--- a/lib/appSupport.js |
+++ b/lib/appSupport.js |
@@ -702,7 +702,10 @@ |
this.window = window; |
this.callback = callback; |
this.onSelect = this.onSelect.bind(this); |
- this.attach(); |
+ if (window.BrowserApp.deck) |
+ this.attach(); |
+ else |
+ window.addEventListener("UIReady", this.attach.bind(this), false); |
Wladimir Palant
2014/12/28 11:28:23
This listener needs to be removed when it fires, o
saroyanm
2014/12/28 19:30:14
Done.
|
}; |
BrowserChangeListener.prototype = { |
window: null, |