diff options
author | Andrew Dolgov <[email protected]> | 2021-03-12 08:34:03 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-12 08:34:03 +0300 |
commit | 96d89fe912fa059377428b777dba7de97d8675c3 (patch) | |
tree | 9852405218d15e233c9a3cd76ee814cf0d1a9aba /plugins/shorten_expanded/init.js | |
parent | bd1630d2781c6a2d1e0581560b25ace44f3682e9 (diff) |
shorten_expanded: reduce log spam
Diffstat (limited to 'plugins/shorten_expanded/init.js')
-rw-r--r-- | plugins/shorten_expanded/init.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |