diff --git a/common.blocks/popup/_target/popup_target.js b/common.blocks/popup/_target/popup_target.js index 647b8b82d..222f9e505 100644 --- a/common.blocks/popup/_target/popup_target.js +++ b/common.blocks/popup/_target/popup_target.js @@ -47,13 +47,13 @@ provide(Popup.decl({ modName : 'target' }, /** @lends popup.prototype */{ 'true' : function() { this.__base.apply(this, arguments); this - .bindToWin('scroll resize', this._onWinScollAndResize) + .bindToWin('scroll resize', this._onWinScrollAndResize) .redraw(); }, '' : function() { this.__base.apply(this, arguments); - this.unbindFromWin('scroll resize', this._onWinScollAndResize); + this.unbindFromWin('scroll resize', this._onWinScrollAndResize); } } }, @@ -286,7 +286,7 @@ provide(Popup.decl({ modName : 'target' }, /** @lends popup.prototype */{ return ~direction.indexOf('-' + secondaryDirection); }, - _onWinScollAndResize : function() { + _onWinScrollAndResize : function() { this.redraw(); }, diff --git a/common.blocks/popup/_target/popup_target_anchor.js b/common.blocks/popup/_target/popup_target_anchor.js index 3f8318c36..3c6e86154 100644 --- a/common.blocks/popup/_target/popup_target_anchor.js +++ b/common.blocks/popup/_target/popup_target_anchor.js @@ -219,7 +219,7 @@ provide(Popup.decl({ modName : 'target', modVal : 'anchor' }, /** @lends popup.p /** * @override */ - _onWinScollAndResize : function() { + _onWinScrollAndResize : function() { this.__base.apply(this, arguments); this._updateIsAnchorVisible(); },