fix #2237 (Issue with previous/next result buttons in player/editor)
This commit is contained in:
parent
45c5641665
commit
e1ee8fdd2e
2 changed files with 4 additions and 4 deletions
|
@ -1394,10 +1394,10 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
.css({opacity: self.results.length ? 1 : 0.25})
|
||||
.html(self.results.length);
|
||||
self.$previousButton.options({
|
||||
disabled: self.results.length <= 1
|
||||
disabled: !self.results.length
|
||||
});
|
||||
self.$nextButton.options({
|
||||
disabled: self.results.length <= 1
|
||||
disabled: !self.results.length
|
||||
});
|
||||
self.$clearButton.options({
|
||||
disabled: !self.options.find
|
||||
|
|
|
@ -2401,10 +2401,10 @@ Ox.VideoPlayer = function(options, self) {
|
|||
if (self.$find) {
|
||||
self.$results.html(self.results.length);
|
||||
self.$previousResultButton.options({
|
||||
disabled: self.results.length <= 1
|
||||
disabled: !self.results.length
|
||||
});
|
||||
self.$nextResultButton.options({
|
||||
disabled: self.results.length <= 1
|
||||
disabled: !self.results.length
|
||||
});
|
||||
self.$clearButton.options({
|
||||
disabled: !self.options.find
|
||||
|
|
Loading…
Reference in a new issue