mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Revert "Progressively enhance folder permissions"
This commit is contained in:
@@ -11,11 +11,12 @@
|
||||
var $scrollArea = $el.closest('.sticky-scroll-area');
|
||||
|
||||
$scrollArea = $scrollArea.length ? $scrollArea : $el.parent();
|
||||
scrollArea = $scrollArea.get(0);
|
||||
|
||||
this._els = [el];
|
||||
this.edge = edge;
|
||||
this.selector = selector;
|
||||
this.node = $scrollArea.get(0);
|
||||
this.node = scrollArea;
|
||||
this.setEvents();
|
||||
};
|
||||
ScrollArea.prototype.addEl = function (el) {
|
||||
@@ -37,7 +38,7 @@
|
||||
};
|
||||
ScrollArea.prototype.getFocusedDetails = {
|
||||
forElement: function ($focusedElement) {
|
||||
var focused = {
|
||||
focused = {
|
||||
'top': $focusedElement.offset().top,
|
||||
'height': $focusedElement.outerHeight(),
|
||||
'type': 'element'
|
||||
|
||||
Reference in New Issue
Block a user