Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
fix(scrollfix): Fix #63 - Removed binding namespace
Browse files Browse the repository at this point in the history
Refer to comment on [`bind()` documentation](http://docs.angularjs.org/api/angular.element)
  • Loading branch information
ProLoser committed Jun 30, 2013
1 parent 1f3b023 commit a347ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/scrollfix/scrollfix.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ angular.module('ui.scrollfix',[]).directive('uiScrollfix', ['$window', function
}
}

$target.bind('scroll.ui-scrollfix', function () {
$target.bind('scroll', function () {
// if pageYOffset is defined use it, otherwise use other crap for IE
var offset;
if (angular.isDefined($window.pageYOffset)) {
Expand Down

0 comments on commit a347ed2

Please sign in to comment.