Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Loader: Use cached window object
Browse files Browse the repository at this point in the history
  • Loading branch information
Przemyslaw Ciezkowski authored and arschmitz committed May 28, 2015
1 parent 57f4963 commit 146c349
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/widgets/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@ define( [
this.element.removeClass( "ui-loader-fakefix" );
}

this.window.unbind( "scroll", this.fakeFixLoader );
this.window.unbind( "scroll", this.checkLoaderPosition );
this.window
.unbind( "scroll", this.fakeFixLoader )
.unbind( "scroll", this.checkLoaderPosition );
}
});

Expand Down

0 comments on commit 146c349

Please sign in to comment.