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

Unified Diff: chrome/browser/resources/options/website_settings.js

Issue 549083005: Fix an error where the onchange() only worked due to scoping rules. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/website_settings.js
diff --git a/chrome/browser/resources/options/website_settings.js b/chrome/browser/resources/options/website_settings.js
index 2dd711a376858860a6009b7f752432a4af148948..140da26934dab2e1b96e8f96ad9748f41aafe5d2 100644
--- a/chrome/browser/resources/options/website_settings.js
+++ b/chrome/browser/resources/options/website_settings.js
@@ -39,7 +39,7 @@ cr.define('options', function() {
$('website-settings-overlay-confirm').onclick =
PageManager.closeOverlay.bind(PageManager);
- $('resourceType').onchange = function() {
+ $('resourceType').onchange = function(event) {
var target = event.target;
assert(target.tagName == 'SELECT');
if (target.value == 'storage')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698