shorten_expanded: reduce log spam
This commit is contained in:
parent
bd1630d278
commit
96d89fe912
|
@ -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) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue