mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-16 12:32:06 +00:00
Focus searchbox when emotelist modal is shown
This commit is contained in:
parent
9d00d9666d
commit
119b6a62b8
1 changed files with 1 additions and 0 deletions
|
|
@ -882,6 +882,7 @@ $("#emotelistbtn").on('click', function () {
|
||||||
EMOTELISTMODAL.modal();
|
EMOTELISTMODAL.modal();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
EMOTELISTMODAL.on('shown.bs.modal', function () { $('.emotelist-search').trigger('focus') });
|
||||||
EMOTELISTMODAL.find(".emotelist-alphabetical").change(function () {
|
EMOTELISTMODAL.find(".emotelist-alphabetical").change(function () {
|
||||||
USEROPTS.emotelist_sort = this.checked;
|
USEROPTS.emotelist_sort = this.checked;
|
||||||
setOpt("emotelist_sort", USEROPTS.emotelist_sort);
|
setOpt("emotelist_sort", USEROPTS.emotelist_sort);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue