mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-29 17:38:04 +01:00
changed safari autofill to cmd + \
This commit is contained in:
parent
f60414c872
commit
2cc761ae26
@ -19,7 +19,7 @@ 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 */
|
||||||
|
|
||||||
const autofillCommand = isSafari ? 'mod+shift+l' : 'mod+shift+l';
|
const autofillCommand = isSafari ? 'mod+\\' : 'mod+shift+l';
|
||||||
Mousetrap.bind(autofillCommand, () => {
|
Mousetrap.bind(autofillCommand, () => {
|
||||||
sendMessage('autofill_login');
|
sendMessage('autofill_login');
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user