dont open firefox quick find, fixes #1258
This commit is contained in:
parent
6a17a94603
commit
8dea961e09
1 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,11 @@ Ox.Keyboard = (function() {
|
|||
bound.forEach(function(id) {
|
||||
Ox.UI.elements[id].triggerEvent('key_' + key);
|
||||
});
|
||||
|
||||
// Firefox opens quick find on slash and quick link find on quote otherwise
|
||||
if (keyName == 'slash' || keyName == 'quote') {
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
if (focused !== null && bound.indexOf(focused) == -1) {
|
||||
$focused.triggerEvent('key_' + key);
|
||||
|
|
Loading…
Reference in a new issue