update highlight for empty string right away, fixes #395

This commit is contained in:
j 2012-02-15 17:38:34 +05:30
parent 136b2c5fdb
commit 2a47b434a4

View file

@ -1188,6 +1188,8 @@ Ox.VideoEditor = function(options, self) {
} else { } else {
self.$findInput.focusInput(true); self.$findInput.focusInput(true);
} }
}
if (hasPressedEnter || !self.options.find) {
self.$annotationPanel.options({highlight: self.options.find}); self.$annotationPanel.options({highlight: self.options.find});
} }
} }