summaryrefslogtreecommitdiff
path: root/plugins/shorten_expanded
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-11-30 15:48:17 +0300
committerAndrew Dolgov <[email protected]>2018-11-30 15:48:17 +0300
commit8359ca6dad9051702d2635f5c2ce6b20ad0d4c2b (patch)
treea530aa239becd01b435ca623a556754b8a92cf4c /plugins/shorten_expanded
parent2f961ee830af21166d22bf3fae104291f614e7dd (diff)
combined mode (and more) css class name updates
Diffstat (limited to 'plugins/shorten_expanded')
-rw-r--r--plugins/shorten_expanded/init.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/shorten_expanded/init.js b/plugins/shorten_expanded/init.js
index a744aad00..d9995e8ac 100644
--- a/plugins/shorten_expanded/init.js
+++ b/plugins/shorten_expanded/init.js
@@ -28,8 +28,8 @@ require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
PluginHost.register(PluginHost.HOOK_ARTICLE_RENDERED_CDM, function(row) {
window.setTimeout(function() {
if (row) {
- const c_inner = row.select(".cdmContentInner")[0];
- const c_inter = row.select(".cdmIntermediate")[0];
+ const c_inner = row.select(".content-inner")[0];
+ const c_inter = row.select(".intermediate")[0];
if (c_inner && c_inter &&
row.offsetHeight >= _shorten_expanded_threshold * window.innerHeight) {