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

Unified Diff: chrome/content/ui/firstRun.js

Issue 11027049: Removed typo correction feature (Closed)
Patch Set: Created June 27, 2013, 4:35 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 | « chrome/content/ui/firstRun.html ('k') | chrome/locale/en-US/filters.dtd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/ui/firstRun.js
===================================================================
--- a/chrome/content/ui/firstRun.js
+++ b/chrome/content/ui/firstRun.js
@@ -60,28 +60,6 @@
shade.addEventListener("mouseover", scrollPage, false);
shade.addEventListener("mouseout", stopScroll, false);
- // Set up typo feature
- if (require("typoBootstrap"))
- {
- var featureTypo = E("feature-typo");
- featureTypo.removeAttribute("hidden");
-
- updateToggleButton("typo", Prefs.correctTypos);
-
- var listener = function(name)
- {
- if (name == "correctTypos")
- updateToggleButton("typo", Prefs.correctTypos);
- }
- Prefs.addListener(listener);
- window.addEventListener("unload", function(event)
- {
- Prefs.removeListener(listener);
- }, false);
-
- E("toggle-typo").addEventListener("click", toggleTypoCorrectionEnabled, false);
- }
-
// Set up feature buttons linked to subscriptions
featureSubscriptions.forEach(setToggleSubscriptionButton);
var filterListener = function(action)
« no previous file with comments | « chrome/content/ui/firstRun.html ('k') | chrome/locale/en-US/filters.dtd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld