Cleanups
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
a8a79712ef
commit
dc78aabe1c
@ -57,6 +57,7 @@
|
||||
"iron-collapse": "^1.2.1",
|
||||
"paper-spinner": "^1.0.0",
|
||||
"iron-resizable-behavior": "^1.0.4",
|
||||
"paper-checkbox": "^1.2.0"
|
||||
"paper-checkbox": "^1.2.0",
|
||||
"webcomponentsjs": "^v1.1.0"
|
||||
}
|
||||
}
|
||||
|
@ -302,15 +302,6 @@
|
||||
},
|
||||
|
||||
|
||||
isThumbInView: function(el) {
|
||||
var rect = el.getBoundingClientRect(),
|
||||
height = (window.innerHeight || document.documentElement.clientHeight),
|
||||
width = (window.innerWidth || document.documentElement.clientWidth);
|
||||
|
||||
return ((rect.top <= height) && ((rect.top + rect.height) >= 0) &&
|
||||
(rect.left <= width) && ((rect.left + rect.width) >= 0));
|
||||
},
|
||||
|
||||
onScroll: function(event) {
|
||||
if (this.disableScrolling) {
|
||||
event.preventDefault();
|
||||
|
Loading…
x
Reference in New Issue
Block a user