mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
allow shortcut when form fields focused
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user