pass empty string instead of undefined to Ox.words
This commit is contained in:
parent
6988dfa89f
commit
24027c0bcb
1 changed files with 1 additions and 1 deletions
|
@ -1602,7 +1602,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
||||||
// action can be 'add' or 'remove'
|
// action can be 'add' or 'remove'
|
||||||
var words = [];
|
var words = [];
|
||||||
Ox.forEach(Ox.count(Ox.words(
|
Ox.forEach(Ox.count(Ox.words(
|
||||||
getAnnotationValue(self.options.selected)
|
getAnnotationValue(self.options.selected) || ''
|
||||||
)), function(count, value) {
|
)), function(count, value) {
|
||||||
words.push({count: count, value: value});
|
words.push({count: count, value: value});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue