about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/ui/util
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-06-21 01:37:15 +0200
committerGitHub <noreply@github.com>2017-06-21 01:37:15 +0200
commit946a166791e5a1a10778e15ca4a9f5f10c961134 (patch)
tree1b502d96f353b3bfd3ce944ccbb8b16667a292c9 /app/javascript/mastodon/features/ui/util
parent31cd64904198551e222a47aa7b2ce4cd8d4370d2 (diff)
Revert #3851 (#3878)
Diffstat (limited to 'app/javascript/mastodon/features/ui/util')
-rw-r--r--app/javascript/mastodon/features/ui/util/intersection_observer_wrapper.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/javascript/mastodon/features/ui/util/intersection_observer_wrapper.js b/app/javascript/mastodon/features/ui/util/intersection_observer_wrapper.js
index b15f8b9ef..0e959f9ae 100644
--- a/app/javascript/mastodon/features/ui/util/intersection_observer_wrapper.js
+++ b/app/javascript/mastodon/features/ui/util/intersection_observer_wrapper.js
@@ -37,13 +37,6 @@ class IntersectionObserverWrapper {
     }
   }
 
-  unobserve (id, node) {
-    if (this.observer) {
-      delete this.callbacks[id];
-      this.observer.unobserve(node);
-    }
-  }
-
   disconnect () {
     if (this.observer) {
       this.observer.disconnect();