mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-21 14:14:45 +01:00
fix(pos-app): hide "clear search" button when input field is manually cleared
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user