handle negative video selection span passed in url
This commit is contained in:
parent
2748ab6978
commit
6bb51eabdb
2 changed files with 2 additions and 4 deletions
|
@ -185,7 +185,7 @@ pandora.URL = (function() {
|
|||
set['videoPoints.' + state.item] = {
|
||||
position: state.span[0],
|
||||
'in': state.span[1] || 0,
|
||||
out: state.span[2] || 0
|
||||
out: Math.max(state.span[1] || 0, state.span[2] || 0)
|
||||
}
|
||||
} else if (state.view == 'map') {
|
||||
// fixme: this doesn't handle map coordinates
|
||||
|
|
|
@ -87,9 +87,7 @@ pandora.ui.logsDialog = function() {
|
|||
id: 'text',
|
||||
title: 'Text',
|
||||
tooltip: function(data) {
|
||||
return $('<code>').append(
|
||||
$('<pre>').html(data.text.replace(/\n\n/g, '<br/>'))
|
||||
);
|
||||
return $('<code>').append($('<pre>').append(data.text));
|
||||
},
|
||||
visible: true,
|
||||
width: 640
|
||||
|
|
Loading…
Reference in a new issue