From 0bf7dcaa325c2f17a4822c97025c34a1cff12365 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 4 Jun 2016 00:57:46 -0400 Subject: [PATCH] restore episode pooling --- .../emby-input/emby-input.js | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js b/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js index ccb25ab162..fa3aab42ef 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js @@ -49,27 +49,9 @@ }); this.addEventListener('change', onChange); - this.addEventListener('keypress', onChange); - this.addEventListener('keyup', onChange); + this.addEventListener('input', onChange); onChange.call(this); - - if (window.IntersectionObserver) { - var observer = new IntersectionObserver(function (entries) { - for (var j = 0, length2 = entries.length; j < length2; j++) { - var entry = entries[j]; - var intersectionRatio = entry.intersectionRatio; - if (intersectionRatio) { - - var target = entry.target; - onChange.call(target); - } - } - }, {}); - - observer.observe(this); - this.observer = observer; - } }; EmbyInputPrototype.detachedCallback = function () {