From 24027c0bcb9a70bb2bf473508ec92001963bf085 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 23 May 2015 13:25:22 +0200 Subject: [PATCH] pass empty string instead of undefined to Ox.words --- source/UI/js/Video/VideoAnnotationPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/UI/js/Video/VideoAnnotationPanel.js b/source/UI/js/Video/VideoAnnotationPanel.js index bb2c37a3..82bb94f4 100644 --- a/source/UI/js/Video/VideoAnnotationPanel.js +++ b/source/UI/js/Video/VideoAnnotationPanel.js @@ -1602,7 +1602,7 @@ Ox.VideoAnnotationPanel = function(options, self) { // action can be 'add' or 'remove' var words = []; Ox.forEach(Ox.count(Ox.words( - getAnnotationValue(self.options.selected) + getAnnotationValue(self.options.selected) || '' )), function(count, value) { words.push({count: count, value: value}); });