diff options
author | Yorhel <git@yorhel.nl> | 2016-03-01 17:22:44 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2016-03-01 17:22:44 +0100 |
commit | 7445df38c6d34525b695c93627324d569c6ec15c (patch) | |
tree | f7143d69802405934414b09096aa85284cedda5f /data/js | |
parent | 2f972d5683dadfcfae4094cc176d59dfc9b96639 (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.
Diffstat (limited to 'data/js')
-rw-r--r-- | data/js/misc.js | 2 |
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); } })(); |