mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:05:55 +00:00
combined mode (and more) css class name updates
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user