Skip to content

Commit

Permalink
fix: region dropdown search could interfere with other dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
EverettBerry committed Oct 22, 2023
1 parent 4a565d0 commit 68e6059
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion in/index.html.mako
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<span class="text">US East (N. Virginia)</span>
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<ul class="dropdown-menu region-list-dropdown" role="menu">
<li>
<input type="text" id="dropdown-search" class="ms-2 mb-2 form-control dropdown-search" placeholder="Search" />
</li>
Expand Down
2 changes: 1 addition & 1 deletion www/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ function on_data_table_initialized() {
var searchText = $(this).val().toLowerCase();

// check each dropdown item
$('.dropdown-menu li')
$('.dropdown-menu.region-list-dropdown li')
.has('.dropdown-item')
.each(function () {
var listItem = $(this);
Expand Down

0 comments on commit 68e6059

Please sign in to comment.