From 96d89fe912fa059377428b777dba7de97d8675c3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Mar 2021 08:34:03 +0300 Subject: [PATCH] shorten_expanded: reduce log spam --- plugins/shorten_expanded/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/shorten_expanded/init.js b/plugins/shorten_expanded/init.js index 6fbfdde2e..85d75d313 100644 --- a/plugins/shorten_expanded/init.js +++ b/plugins/shorten_expanded/init.js @@ -14,7 +14,7 @@ Plugins.Shorten_Expanded = { const content = row.querySelector(".content"); const content_inner = row.querySelector(".content-inner"); - console.log('shorten_expanded', row.id, content.offsetHeight, 'vs', this.threshold * window.innerHeight); + //console.log('shorten_expanded', row.id, content.offsetHeight, 'vs', this.threshold * window.innerHeight); if (content && content_inner && !row.hasAttribute('data-already-shortened') && content.offsetHeight >= this.threshold * window.innerHeight) {