From f14a2e05457db006a7b247fc21828209947dff5e Mon Sep 17 00:00:00 2001 From: dfilatov Date: Mon, 2 Mar 2015 13:33:00 +0300 Subject: [PATCH] fix misprint (close #1376) --- common.blocks/popup/_target/popup_target.js | 6 +++--- common.blocks/popup/_target/popup_target_anchor.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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(); },