forked from 0x2620/pandora
correctly update video preview when switching to or from timelines list view
This commit is contained in:
parent
d9d79b1813
commit
d3dafa065e
1 changed files with 4 additions and 1 deletions
|
@ -19,7 +19,10 @@ pandora.ui.info = function() {
|
|||
pandora_item: updateInfo,
|
||||
pandora_listselection: updateInfo,
|
||||
pandora_listview: function(data) {
|
||||
if (!pandora.isClipView(data.value) && pandora.isClipView(data.previousValue)) {
|
||||
if (
|
||||
pandora.isClipView(data.value) != pandora.isClipView(data.previousValue)
|
||||
|| data.value == 'timelines' || data.previousValue == 'timelines'
|
||||
) {
|
||||
updateInfo();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue