Commit c068f4e4 authored by dhnishi's avatar dhnishi Committed by Commit bot

Fix an error where the onchange() only worked due to scoping rules on the

Website Settings page.

Review URL: https://codereview.chromium.org/549083005

Cr-Commit-Position: refs/heads/master@{#293753}
parent 4d6758a4
...@@ -39,7 +39,7 @@ cr.define('options', function() { ...@@ -39,7 +39,7 @@ cr.define('options', function() {
$('website-settings-overlay-confirm').onclick = $('website-settings-overlay-confirm').onclick =
PageManager.closeOverlay.bind(PageManager); PageManager.closeOverlay.bind(PageManager);
$('resourceType').onchange = function() { $('resourceType').onchange = function(event) {
var target = event.target; var target = event.target;
assert(target.tagName == 'SELECT'); assert(target.tagName == 'SELECT');
if (target.value == 'storage') if (target.value == 'storage')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment