Ox.UI.elements -> Ox.elements

This commit is contained in:
rlx 2014-09-24 10:26:51 +02:00
commit 0b5f8f9492
5 changed files with 11 additions and 10 deletions

View file

@ -1274,7 +1274,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
if (Ox.isUndefined(data)) {
// doubleclick on small timeline
data = getAnnotation();
} else if (!data.id && Ox.UI.elements[that.oxid]) {
} else if (!data.id && Ox.elements[that.oxid]) {
// focus only if in the dom
that.gainFocus();
}