mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
fix(pos-app): hide "clear search" button when input field is manually cleared
This commit is contained in:
parent
bc8e7ce888
commit
eae913f809
1 changed files with 2 additions and 0 deletions
|
@ -113,6 +113,8 @@ $(document).ready(function(){
|
|||
var $list = $('#js-pos-list').find(".card-title:not(:icontains('" + $.escapeSelector(str) + "'))");
|
||||
$list.parents('.card-wrapper').hide();
|
||||
$('.js-search-reset').show();
|
||||
} else if (str.length === 0) {
|
||||
$('.js-search-reset').hide();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue