Fix setting the selectedIndex of dropdown lists in test-ui.js and perf-ui.js.

This commit is contained in:
John-David Dalton
2014-01-27 21:49:38 -08:00
parent 1b79448ac2
commit 9f0993f29b
2 changed files with 6 additions and 6 deletions

View File

@@ -59,6 +59,9 @@
setTimeout(init, 15);
return;
}
toolbar.appendChild(span1);
toolbar.appendChild(span2);
buildList.selectedIndex = (function() {
switch (build) {
case 'lodash-compat': return 1;
@@ -86,9 +89,6 @@
return -1;
}());
toolbar.appendChild(span1);
toolbar.appendChild(span2);
addListener(buildList, 'change', eventHandler);
addListener(loaderList, 'change', eventHandler);
}