forked from 0x2620/pandora
fix #1796 (JS error when deselecting map place while clip is selected)
This commit is contained in:
parent
1de58ea400
commit
daf8c8d5c5
1 changed files with 2 additions and 0 deletions
|
@ -237,6 +237,8 @@ pandora.ui.navigationView = function(type, videoRatio) {
|
|||
type == 'map' && pandora.UI.set({mapSelection: data.name});
|
||||
} else {
|
||||
$list.options({
|
||||
selected: []
|
||||
}).options({
|
||||
items: function(data, callback) {
|
||||
callback({data: {items: data.keys ? [] : 0}});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue