From 696741190a8c4a51645063b979f6bdd7c91c0e35 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Sun, 19 Feb 2012 09:01:13 +0000 Subject: [PATCH] only show users in menu if there are annotations --- source/Ox.UI/js/Video/Ox.AnnotationPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/Ox.AnnotationPanel.js b/source/Ox.UI/js/Video/Ox.AnnotationPanel.js index 686ca562..a99d055d 100644 --- a/source/Ox.UI/js/Video/Ox.AnnotationPanel.js +++ b/source/Ox.UI/js/Video/Ox.AnnotationPanel.js @@ -328,7 +328,7 @@ Ox.AnnotationPanel = function(options, self) { {id: 'large', title: 'Large', checked: self.options.font == 'large'} ]} ] : [], - self.options.showUsers ? [ + self.options.showUsers && self.users.length ? [ {}, {id: 'users', title: 'Show Users', disabled: true}, {group: 'users', min: 1, max: -1, items: self.users.map(function(user) {