mirror of
https://github.com/wled/WLED.git
synced 2025-07-21 09:46:32 +00:00
Merge branch '0_15' into blending-styles
This commit is contained in:
commit
20c0916adc
@ -2830,8 +2830,9 @@ function search(field, listId = null) {
|
||||
const search = field.value !== '';
|
||||
|
||||
// restore default preset sorting if no search term is entered
|
||||
if (listId === 'pcont' && !search) {
|
||||
populatePresets();
|
||||
if (!search) {
|
||||
if (listId === 'pcont') populatePresets();
|
||||
if (listId === 'pallist') populatePalettes();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user