1
0
Fork 0
forked from 0x2620/oxjs

update uses of focusInput()

This commit is contained in:
rolux 2011-12-18 15:14:11 +05:30
commit c1c4441b10
9 changed files with 21 additions and 17 deletions

View file

@ -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});
}