diff --git a/options.js b/options.js index 66a6b05..d3fed38 100644 --- a/options.js +++ b/options.js @@ -49,6 +49,9 @@ var keyCodeAliases = { 220: '\\', 221: ']', 222: '\'', + 59: ';', + 173: '-', + 61: '+', } var whiteList = ['Backspace', 'Delete', 'Tab', 'Escape', 'Enter', 'Home', 'End', @@ -187,7 +190,6 @@ function initShortcutInput(inputId) { document.getElementById(inputId).addEventListener('keydown', recordKeyPress); } - document.addEventListener('DOMContentLoaded', function () { restore_options();