forked from 0x2620/pandora
fix removing annotations
This commit is contained in:
parent
18fdba8654
commit
6386ec9b14
1 changed files with 1 additions and 1 deletions
|
@ -745,7 +745,7 @@ pandora.ui.mainMenu = function() {
|
||||||
},
|
},
|
||||||
pandora_videopoints: function(data) {
|
pandora_videopoints: function(data) {
|
||||||
var action;
|
var action;
|
||||||
if (data.value['in']) {
|
if (data.value && data.value['in']) {
|
||||||
action = data.value['in'] != data.value.out ? 'enableItem' : 'disableItem';
|
action = data.value['in'] != data.value.out ? 'enableItem' : 'disableItem';
|
||||||
that[action]('copy');
|
that[action]('copy');
|
||||||
that[action]('copyadd');
|
that[action]('copyadd');
|
||||||
|
|
Loading…
Reference in a new issue