diff --git a/cocos2d/core/platform/CCView.js b/cocos2d/core/platform/CCView.js index 646b8a3d49..e1d27d35f5 100644 --- a/cocos2d/core/platform/CCView.js +++ b/cocos2d/core/platform/CCView.js @@ -214,9 +214,9 @@ var View = cc._Class.extend({ }, _orientationChange: function () { - this._orientationChanging = true; - this._resizeEvent(); - this._orientationChanging = false; + cc.view._orientationChanging = true; + cc.view._resizeEvent(); + cc.view._orientationChanging = false; }, /**