mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +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);
|
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 v1.6.1 craig.is/killing/mice */
|
||||||
|
|
||||||
|
Mousetrap.prototype.stopCallback = () => {
|
||||||
|
return false;
|
||||||
|
};
|
||||||
|
|
||||||
const autofillCommand = isSafari ? 'mod+\\' : 'mod+shift+l';
|
const autofillCommand = isSafari ? 'mod+\\' : 'mod+shift+l';
|
||||||
Mousetrap.bind(autofillCommand, () => {
|
Mousetrap.bind(autofillCommand, () => {
|
||||||
sendMessage('autofill_login');
|
sendMessage('autofill_login');
|
||||||
|
|||||||
Reference in New Issue
Block a user