mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Add missed .stopped method to Sticky Element
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user