From 5e77d0062bde3abe08fe3aadff689faa31762fe7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 13 May 2020 07:28:13 +0300 Subject: use intersection observer to unpack visible articles, remove Headlines.unpackVisible() --- plugins/shorten_expanded/init.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/shorten_expanded/init.js') 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")}`; dojo.parser.parse(c_inner); - - Headlines.unpackVisible(); } } }, 150); -- cgit v1.2.3-54-g00ecf