forked from 0x2620/oxjs
update uses of focusInput()
This commit is contained in:
parent
4701245038
commit
c1c4441b10
9 changed files with 21 additions and 17 deletions
|
|
@ -1115,7 +1115,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
if (self.$find.is(':hidden')) {
|
||||
toggleFind();
|
||||
} else {
|
||||
self.$findInput.focusInput();
|
||||
self.$findInput.focusInput(true);
|
||||
}
|
||||
}, 0);
|
||||
}
|
||||
|
|
@ -1999,7 +1999,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
results: self.results
|
||||
});
|
||||
if (hasPressedEnter) {
|
||||
self.results.length ? goToNextResult(1) : self.$findInput.focusInput();
|
||||
self.results.length ? goToNextResult(1) : self.$findInput.focusInput(true);
|
||||
}
|
||||
that.triggerEvent('find', {find: self.options.find});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue