From 8359ca6dad9051702d2635f5c2ce6b20ad0d4c2b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 30 Nov 2018 15:48:17 +0300 Subject: combined mode (and more) css class name updates --- plugins/shorten_expanded/init.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/shorten_expanded/init.js') 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) { -- cgit v1.2.3