Improve locale search
This commit is contained in:
parent
6c842cbd64
commit
b9e9554f47
1 changed files with 13 additions and 4 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue