Improve locale search

This commit is contained in:
grandeljay 2022-06-16 14:45:12 +02:00
parent 6c842cbd64
commit b9e9554f47

View file

@ -58,12 +58,21 @@ $(function() {
} }
}); });
$('.ui.dropdown.channel').dropdown();
$('.ui.dropdown.locale').dropdown({
sortSelect : 'natural',
});
$('.ui.progress').progress(); $('.ui.progress').progress();
/**
* Preferences
*/
/** Language */
$('.ui.dropdown.locale').dropdown({
sortSelect : 'natural',
fullTextSearch : true,
});
/** Channel */
$('.ui.dropdown.channel').dropdown();
var isPWA = navigator.standalone || window.matchMedia('(display-mode: standalone)').matches; var isPWA = navigator.standalone || window.matchMedia('(display-mode: standalone)').matches;
if (isPWA) { if (isPWA) {