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();