Add missed .stopped method to Sticky Element

This commit is contained in:
Tom Byers
2018-11-14 16:42:52 +00:00
parent 8411598390
commit eeb096aa62

View File

@@ -36,6 +36,9 @@
StickyElement.prototype.unstop = function () { StickyElement.prototype.unstop = function () {
this._stopped = false; this._stopped = false;
}; };
StickyElement.prototype.stopped = function () {
return this._stopped;
};
// Stick elements to top of screen when you scroll past, documentation is in the README.md // Stick elements to top of screen when you scroll past, documentation is in the README.md
var Sticky = function (selector) { var Sticky = function (selector) {