Revert "Progressively enhance folder permissions"

This commit is contained in:
Tom Byers
2019-05-13 16:19:24 +01:00
committed by GitHub
parent b2a38fe222
commit 0e6caa7fda
13 changed files with 22 additions and 850 deletions

View File

@@ -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'