From dc78aabe1ccf5cc31dd4c3794f00c30b20a96321 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Wed, 5 Sep 2018 19:46:03 -0700 Subject: [PATCH] Cleanups Signed-off-by: James Ketrenos --- frontend/bower.json | 3 ++- frontend/src/ketr-photos/ketr-photos.html | 9 --------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/frontend/bower.json b/frontend/bower.json index d6cfe44..8bd94ce 100644 --- a/frontend/bower.json +++ b/frontend/bower.json @@ -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" } } diff --git a/frontend/src/ketr-photos/ketr-photos.html b/frontend/src/ketr-photos/ketr-photos.html index 847eab2..7d75f3f 100755 --- a/frontend/src/ketr-photos/ketr-photos.html +++ b/frontend/src/ketr-photos/ketr-photos.html @@ -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();