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_item: updateInfo,
|
||||||
pandora_listselection: updateInfo,
|
pandora_listselection: updateInfo,
|
||||||
pandora_listview: function(data) {
|
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();
|
updateInfo();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue