Keyboard shortcuts of this extension now override everything else.
This commit is contained in:
parent
8163ade387
commit
43a3da6c56
2
js/uw.js
2
js/uw.js
@ -401,6 +401,8 @@ function keydownSetup(){
|
|||||||
if(debugmsg)
|
if(debugmsg)
|
||||||
console.log("we pressed a key: ", event.key , " | mods match?", mods, "keybinding: ", KEYBINDS[i]);
|
console.log("we pressed a key: ", event.key , " | mods match?", mods, "keybinding: ", KEYBINDS[i]);
|
||||||
if(mods){
|
if(mods){
|
||||||
|
event.stopPropagation();
|
||||||
|
|
||||||
console.log("uw::keydown | keys match. calling changeCSS()");
|
console.log("uw::keydown | keys match. calling changeCSS()");
|
||||||
if(KEYBINDS[i].action == "char"){
|
if(KEYBINDS[i].action == "char"){
|
||||||
changeCSS("char", KEYBINDS[i].targetAR);
|
changeCSS("char", KEYBINDS[i].targetAR);
|
||||||
|
Loading…
Reference in New Issue
Block a user