changed safari autofill to cmd + \

This commit is contained in:
Kyle Spearrin 2018-01-17 10:19:16 -05:00
parent f60414c872
commit 2cc761ae26
1 changed files with 1 additions and 1 deletions

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); 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');
}); });