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