1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-28 17:27:50 +01:00

changed safari autofill to cmd + \

This commit is contained in:
Kyle Spearrin 2018-01-17 10:19:16 -05:00
parent f60414c872
commit 2cc761ae26

View File

@ -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);
/* 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, () => {
sendMessage('autofill_login');
});