mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-07 19:02:26 -05:00
Correct reference to 'self' variable
It doesn't exist in this scope so the 'self' in the scope above was being referenced instead, preventing it from erroring.
This commit is contained in:
@@ -263,7 +263,7 @@
|
||||
$(window).scrollTop(this.getInPageEdgePosition(sticky) - windowHeight);
|
||||
}
|
||||
|
||||
self.hasResized = false;
|
||||
this.hasResized = false;
|
||||
},
|
||||
releaseEl: function (el, sticky) {
|
||||
el.$fixedEl.css(sticky.edge, '');
|
||||
|
||||
Reference in New Issue
Block a user