File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 72
72
box-shadow : 0 0 3px var (--searchbar-shadow-color );
73
73
}
74
74
75
+ div .panel div .panel-body .open button .dropdown-toggle {
76
+ background : var (--searchbar-bg );
77
+ color : var (--searchbar-fg );
78
+ border-color : var (--theme-popup-border );
79
+ filter : brightness (90% );
80
+ }
81
+
75
82
.dropdown-toggle .badge {
76
83
background-color : # 777 ;
77
84
}
@@ -536,7 +543,8 @@ <h2 class="panel-title">
536
543
} ;
537
544
$scope . groups = GROUPS_FILTER_DEFAULT ;
538
545
$scope . toggleDropdown = function ( name , $event ) {
539
- if ( name === $scope . selectedDropdown && $event . path . find ( x => x . tagName === 'BUTTON' ) ) {
546
+ const target = $event . target ;
547
+ if ( name === $scope . selectedDropdown && target . closest ( 'button' ) ) {
540
548
$scope . selectedDropdown = undefined ;
541
549
} else {
542
550
$scope . selectedDropdown = name ;
You can’t perform that action at this time.
0 commit comments