allow shortcut when form fields focused
This commit is contained in:
parent
98c734bc09
commit
f48066e918
|
@ -19,6 +19,10 @@ document.addEventListener('DOMContentLoaded', (event) => {
|
|||
arguments)}}(b))};c.init();r.Mousetrap=c;"undefined"!==typeof module&&module.exports&&(module.exports=c);"function"===typeof define&&define.amd&&define(function(){return c})}})("undefined"!==typeof window?window:null,"undefined"!==typeof window?document:null);
|
||||
/* mousetrap v1.6.1 craig.is/killing/mice */
|
||||
|
||||
Mousetrap.prototype.stopCallback = () => {
|
||||
return false;
|
||||
};
|
||||
|
||||
const autofillCommand = isSafari ? 'mod+\\' : 'mod+shift+l';
|
||||
Mousetrap.bind(autofillCommand, () => {
|
||||
sendMessage('autofill_login');
|
||||
|
|
Loading…
Reference in New Issue