summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-03-01 17:22:44 +0100
committerYorhel <git@yorhel.nl>2016-03-01 17:22:44 +0100
commit7445df38c6d34525b695c93627324d569c6ec15c (patch)
treef7143d69802405934414b09096aa85284cedda5f
parent2f972d5683dadfcfae4094cc176d59dfc9b96639 (diff)
JS: Increase staff/cast box summarization cut-off point
It's rather annoying to have to click "more" only to see one or two more lines. Let's just show everything in that case.
-rw-r--r--data/js/misc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/js/misc.js b/data/js/misc.js
index 11c7ef8e..23049068 100644
--- a/data/js/misc.js
+++ b/data/js/misc.js
@@ -143,7 +143,7 @@ if(location.hostname != 'vndb.org') {
for(var i=0; i<l.length; i++) {
var h = Math.floor(l[i].getAttribute('data-summarize-height') || 150);
- if(l[i].offsetHeight > h+30)
+ if(l[i].offsetHeight > h+100)
set(l[i], h);
}
})();