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

Unified Diff: chrome/browser/resources/flags.js

Issue 9669036: fixed about:flags by switching onclick to onchange for select element (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: adding myself to AUTHORS Created 8 years, 9 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 | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/flags.js
diff --git a/chrome/browser/resources/flags.js b/chrome/browser/resources/flags.js
index 4bf768fa7ccf90e0a63d3708b3b12a0bc897f87d..3ad0d26720843b4b4b2f838578599e4265acc049 100644
--- a/chrome/browser/resources/flags.js
+++ b/chrome/browser/resources/flags.js
@@ -47,7 +47,7 @@ function renderTemplate(flagsExperimentsData) {
// Add handlers to dynamically created HTML elements.
var elements = document.getElementsByClassName('experiment-select');
for (var i = 0; i < elements.length; ++i) {
- elements[i].onclick = function () {
+ elements[i].onchange = function () {
handleSelectChoiceExperiment(this, this.selectedIndex);
return false;
};
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698