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