forked from 0x2620/pandora
fix line wrap in clips view
This commit is contained in:
parent
5c439828ea
commit
be41feadbd
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ pandora.ui.clipList = function(videoRatio) {
|
|||
: a.value > b.value ? 1
|
||||
: 0;
|
||||
}).map(function(annotation) {
|
||||
return Ox.stripTags(annotation.value).replace(/\n/g, ' ');
|
||||
return Ox.stripTags(annotation.value.replace(/\n/g, ' '));
|
||||
}).join('; ') : '';
|
||||
url = '/' + data.id.split('/')[0] + '/' + height + 'p' + data['in'] + '.jpg';
|
||||
sortKey = sort[0].key;
|
||||
|
|
|
@ -43,7 +43,7 @@ pandora.ui.itemClips = function(options) {
|
|||
id: clip.id,
|
||||
info: Ox.formatDuration(clip['in']) + ' - ' + Ox.formatDuration(clip.out),
|
||||
title: annotations.map(function(annotation) {
|
||||
return Ox.stripTags(annotation.value);
|
||||
return Ox.stripTags(annotation.value.replace(/\n/g, ' '));
|
||||
}).join('; '),
|
||||
url: url,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue