summaryrefslogtreecommitdiff
path: root/plugins/shorten_expanded
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-05-13 07:28:13 +0300
committerAndrew Dolgov <[email protected]>2020-05-13 07:28:13 +0300
commit5e77d0062bde3abe08fe3aadff689faa31762fe7 (patch)
treecb8283800621110db5d8fd1d8d70fe2973e5efc3 /plugins/shorten_expanded
parent7adbc95acc4b2677be3a1d830c69b892f77d2465 (diff)
use intersection observer to unpack visible articles, remove Headlines.unpackVisible()
Diffstat (limited to 'plugins/shorten_expanded')
-rw-r--r--plugins/shorten_expanded/init.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/shorten_expanded/init.js b/plugins/shorten_expanded/init.js
index 6371bd1c6..587fcea42 100644
--- a/plugins/shorten_expanded/init.js
+++ b/plugins/shorten_expanded/init.js
@@ -42,8 +42,6 @@ require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
${__("Click to expand article")}</button>`;
dojo.parser.parse(c_inner);
-
- Headlines.unpackVisible();
}
}
}, 150);