mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-21 10:13:34 +02:00
Fix content server gui.js bug where it put '...' on the end of a list even if the list was exactly the right size.
This commit is contained in:
parent
8b9b64a8e6
commit
67c7555fd0
1 changed files with 2 additions and 1 deletions
|
|
@ -63,8 +63,9 @@ function render_book(book) {
|
|||
if (tags) {
|
||||
t = tags.split(':&:', 2);
|
||||
m = parseInt(t[0]);
|
||||
tall = t[1].split(',');
|
||||
t = t[1].split(',', m);
|
||||
if (t.length == m) t[m] = '...'
|
||||
if (tall.length > m) t[m] = '...'
|
||||
title += 'Tags=[{0}] '.format(t.join(','));
|
||||
}
|
||||
custcols = book.attr("custcols").split(',')
|
||||
|
|
|
|||
Loading…
Reference in a new issue