X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=plugins%2Fshorten_expanded%2Finit.js;fp=plugins%2Fshorten_expanded%2Finit.js;h=d9995e8ac333228cd7c812ebff3d4956ebaf1c32;hb=8359ca6dad9051702d2635f5c2ce6b20ad0d4c2b;hp=a744aad005f27b7c443187752e3328b06b6eab27;hpb=2f961ee830af21166d22bf3fae104291f614e7dd;p=tt-rss.git diff --git a/plugins/shorten_expanded/init.js b/plugins/shorten_expanded/init.js index a744aad0..d9995e8a 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) {