diff --git a/src/core/controller/controller.resizer.js b/src/core/controller/controller.resizer.js index 4ffd40be6..bb095e55c 100644 --- a/src/core/controller/controller.resizer.js +++ b/src/core/controller/controller.resizer.js @@ -18,7 +18,11 @@ BI.ResizeController = BI.inherit(BI.Controller, { self._resize(ev); // } }, 30); - BI.Widget._renderEngine.createElement(_global).resize(fn); + if ("onoreientationchange" in window) { + window.onoreientationchange = fn; + } else { + BI.Widget._renderEngine.createElement(_global).resize(fn); + } }, _resize: function (ev) {