preven default for control_shift_c to make copyadd work on linux, Chrome opens Inspect Element otherwise
This commit is contained in:
parent
c0eff8edf3
commit
5549377541
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ Ox.Keyboard = (function() {
|
|||
Ox.UI.elements[id].triggerEvent('key_' + key);
|
||||
});
|
||||
|
||||
// Don't open Chrome Inspect Element, used for copyadd
|
||||
if (bound.length && key == 'control_shift_c') {
|
||||
event.preventDefault();
|
||||
}
|
||||
// Firefox opens quick find on slash and quick link find on quote otherwise
|
||||
if (keyName == 'slash' || keyName == 'quote') {
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Reference in a new issue