Skip to content

Commit

Permalink
added window pos resetting on window resize & scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
markentingh committed Jan 20, 2018
1 parent 0ef6736 commit ca19d0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _super.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
S = {};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

$(window).on('resize', function () { S.window.changed = true; });
$(window).on('scroll', function () { S.window.changed = true; });


0 comments on commit ca19d0b

Please sign in to comment.