diff --git a/app/assets/javascripts/stick-to-window-when-scrolling.js b/app/assets/javascripts/stick-to-window-when-scrolling.js index b3ad3774d..4f5df6025 100644 --- a/app/assets/javascripts/stick-to-window-when-scrolling.js +++ b/app/assets/javascripts/stick-to-window-when-scrolling.js @@ -36,6 +36,9 @@ StickyElement.prototype.unstop = function () { 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 var Sticky = function (selector) {