Skip to content

Commit

Permalink
Merge pull request #1384 from /issues/1376@v2
Browse files Browse the repository at this point in the history
fix misprint (close #1376)
  • Loading branch information
Vladimir Varankin committed Mar 3, 2015
2 parents 84a9124 + f14a2e0 commit 0f0e1e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions common.blocks/popup/_target/popup_target.js
Expand Up @@ -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);
}
}
},
Expand Down Expand Up @@ -286,7 +286,7 @@ provide(Popup.decl({ modName : 'target' }, /** @lends popup.prototype */{
return ~direction.indexOf('-' + secondaryDirection);
},

_onWinScollAndResize : function() {
_onWinScrollAndResize : function() {
this.redraw();
},

Expand Down
2 changes: 1 addition & 1 deletion common.blocks/popup/_target/popup_target_anchor.js
Expand Up @@ -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();
},
Expand Down

0 comments on commit 0f0e1e1

Please sign in to comment.