Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3663)

Unified Diff: chrome/browser/resources/options2/content_settings.js

Issue 9316086: Fix JavaScript errors in options2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new violations found after rebase Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options2/content_settings.js
diff --git a/chrome/browser/resources/options2/content_settings.js b/chrome/browser/resources/options2/content_settings.js
index f4adf2c9a7086c8401923ce455acfd72ec71caed..47f099baa12b6260c929834739eb2ba79355de2a 100644
--- a/chrome/browser/resources/options2/content_settings.js
+++ b/chrome/browser/resources/options2/content_settings.js
@@ -23,14 +23,14 @@ cr.define('options', function() {
// might override it if the reopen last pages setting is selected.)
var self = this;
Preferences.getInstance().addEventListener(
- "profile.clear_site_data_on_exit",
+ 'profile.clear_site_data_on_exit',
function(event) {
if (event.value && event.value['value'] != undefined) {
self.clearCookiesOnExit = (event.value['value'] == true);
}
});
Preferences.getInstance().addEventListener(
- "session.restore_on_startup",
+ 'session.restore_on_startup',
this.onSessionRestoreSelectedChanged.bind(this));
}
@@ -56,7 +56,7 @@ cr.define('options', function() {
// history so back/forward and tab restore works.
var hash = event.target.getAttribute('contentType');
window.history.replaceState({pageName: page.name}, page.title,
- '/' + page.name + "#" + hash);
+ '/' + page.name + '#' + hash);
};
}
@@ -89,7 +89,7 @@ cr.define('options', function() {
}
},
- onSessionRestoreSelectedChanged : function(event) {
+ onSessionRestoreSelectedChanged: function(event) {
if (!event.value || event.value['value'] == undefined)
return;

Powered by Google App Engine
This is Rietveld 408576698