File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -502,13 +502,22 @@ export function escapeText( s ) {
502
502
return moduleFilter ;
503
503
}
504
504
505
+ function toolbarFilters ( ) {
506
+ var toolbarFilters = document . createElement ( "span" ) ;
507
+
508
+ toolbarFilters . id = "qunit-toolbar-filters" ;
509
+ toolbarFilters . appendChild ( toolbarLooseFilter ( ) ) ;
510
+ toolbarFilters . appendChild ( toolbarModuleFilter ( ) ) ;
511
+
512
+ return toolbarFilters ;
513
+ }
514
+
505
515
function appendToolbar ( ) {
506
516
var toolbar = id ( "qunit-testrunner-toolbar" ) ;
507
517
508
518
if ( toolbar ) {
509
519
toolbar . appendChild ( toolbarUrlConfigContainer ( ) ) ;
510
- toolbar . appendChild ( toolbarModuleFilter ( ) ) ;
511
- toolbar . appendChild ( toolbarLooseFilter ( ) ) ;
520
+ toolbar . appendChild ( toolbarFilters ( ) ) ;
512
521
toolbar . appendChild ( document . createElement ( "div" ) ) . className = "clearfix" ;
513
522
}
514
523
}
Original file line number Diff line number Diff line change 105
105
height : 1.6em ;
106
106
}
107
107
108
+ # qunit-toolbar-filters {
109
+ float : right;
110
+ }
111
+
108
112
.qunit-url-config ,
109
113
.qunit-filter ,
110
114
# qunit-modulefilter {
114
118
115
119
.qunit-filter ,
116
120
# qunit-modulefilter {
117
- float : right;
118
121
position : relative;
119
122
margin-left : 1em ;
120
123
}
You can’t perform that action at this time.
0 commit comments