|
|
@ -18,8 +18,8 @@ BI.ResizeController = BI.inherit(BI.Controller, { |
|
|
|
self._resize(ev); |
|
|
|
self._resize(ev); |
|
|
|
// }
|
|
|
|
// }
|
|
|
|
}, 30); |
|
|
|
}, 30); |
|
|
|
if ("onoreientationchange" in window) { |
|
|
|
if ("onorientationchange" in window) { |
|
|
|
window.onoreientationchange = fn; |
|
|
|
window.onorientationchange = fn; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
BI.Widget._renderEngine.createElement(_global).resize(fn); |
|
|
|
BI.Widget._renderEngine.createElement(_global).resize(fn); |
|
|
|
} |
|
|
|
} |
|
|
|