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

Commit a347ed2

Browse files
committed
fix(scrollfix): Fix #63 - Removed binding namespace
Refer to comment on [`bind()` documentation](http://docs.angularjs.org/api/angular.element)
1 parent 1f3b023 commit a347ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/scrollfix/scrollfix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ angular.module('ui.scrollfix',[]).directive('uiScrollfix', ['$window', function
2222
}
2323
}
2424

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

0 commit comments

Comments
 (0)