Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/typoAppIntegration.js

Issue 9276041: Fixed: bogus access keys in typo correction message (Closed)
Patch Set: Created Jan. 29, 2013, 2:32 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/typoFixer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | lib/typoFixer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld