Skip to content

Commit

Permalink
fix misprint (close #1376)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfilatov committed Mar 2, 2015
1 parent 2f9ca2f commit f14a2e0
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 f14a2e0

Please sign in to comment.