diff --git a/test/test-ui.js b/test/test-ui.js index 5b8ee929b..b91a91f69 100644 --- a/test/test-ui.js +++ b/test/test-ui.js @@ -47,8 +47,8 @@ function init() { var toolbar = document.getElementById('qunit-testrunner-toolbar'); if (toolbar) { - toolbar.appendChild(label1); - toolbar.appendChild(label2); + toolbar.appendChild(span1); + toolbar.appendChild(span2); dropdown.selectedIndex = (function() { switch (build) { @@ -68,21 +68,24 @@ } } - var label1 = document.createElement('label'); - label1.innerHTML = - 'No RequireJS'; + var span1 = document.createElement('span'); + span1.innerHTML = + '' + + ''; - var label2 = document.createElement('label'); - label2.innerHTML = ' ' + - '' + '' + '' + '' + '' + - ' Build'; + ''; - var checkbox = label1.firstChild, - dropdown = label2.getElementsByTagName('select')[0]; + var checkbox = span1.firstChild, + dropdown = span2.lastChild; init(); });