summaryrefslogtreecommitdiff
path: root/js/Headlines.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-11 22:55:14 +0300
committerAndrew Dolgov <[email protected]>2021-03-11 22:55:14 +0300
commit146b1e0feb861cd55fef317fe3f52ea974ead87d (patch)
tree21801be63e7674f4d2b2b950d23a7016aefab5c7 /js/Headlines.js
parent6e0474a7c81ee0c397cc8c2c732a987dfee115c2 (diff)
* shorten_expanded: use ResizeObserver (DUH)
* add HOOK_HEADLINES_RENDERED
Diffstat (limited to 'js/Headlines.js')
-rwxr-xr-xjs/Headlines.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/Headlines.js b/js/Headlines.js
index 4dad68db9..b35202bcb 100755
--- a/js/Headlines.js
+++ b/js/Headlines.js
@@ -436,6 +436,7 @@ const Headlines = {
dijit.byId('main').resize();
+ PluginHost.run(PluginHost.HOOK_HEADLINES_RENDERED);
},
render: function (headlines, hl) {
let row = null;
@@ -832,6 +833,8 @@ const Headlines = {
dijit.byId('main').resize();
+ PluginHost.run(PluginHost.HOOK_HEADLINES_RENDERED);
+
Notify.close();
},
reverse: function () {