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:
Tom Byers
2019-02-11 16:10:29 +00:00
parent 4c477d08a6
commit 09848009c1

View File

@@ -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, '');