Index: lib/typoAppIntegration.js |
=================================================================== |
--- a/lib/typoAppIntegration.js |
+++ b/lib/typoAppIntegration.js |
@@ -65,28 +65,28 @@ switch (addonName) |
{ |
let {Utils} = require("utils"); |
let message = Utils.getString("typo_optin_message").replace(/\?1\?/, domain); |
let yes = Utils.getString("typo_optin_yes"); |
let no = Utils.getString("typo_optin_no"); |
let buttons = [ |
{ |
label: yes, |
- accessKey: null, |
+ accessKey: "", |
callback: function() |
{ |
// Yes: Enable typo correction |
Prefs.correctTypos = true; |
exports.loadURI(window, prefix + domain + suffix); |
Prefs.correctTyposAsked = true; |
} |
}, |
{ |
label: no, |
- accessKey: null, |
+ accessKey: "", |
callback: function() |
{ |
// No: Do nothing |
Prefs.correctTyposAsked = true; |
} |
} |
]; |
// We need to have persistence being set to 1 due to redirect which happens afterwards |