Skip to content
Snippets Groups Projects
Commit 96d89fe9 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

shorten_expanded: reduce log spam

parent bd1630d2
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ Plugins.Shorten_Expanded = { ...@@ -14,7 +14,7 @@ Plugins.Shorten_Expanded = {
const content = row.querySelector(".content"); const content = row.querySelector(".content");
const content_inner = row.querySelector(".content-inner"); 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) { if (content && content_inner && !row.hasAttribute('data-already-shortened') && content.offsetHeight >= this.threshold * window.innerHeight) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment