forked from rDrama/rDrama
put focusing on emojisearchbar in a timeout
parent
b3d1490418
commit
a613a190c2
|
@ -578,4 +578,7 @@ function loadEmojis(inputTargetIDName)
|
||||||
|
|
||||||
document.getElementById('emojiModal').addEventListener('shown.bs.modal', function () {
|
document.getElementById('emojiModal').addEventListener('shown.bs.modal', function () {
|
||||||
emojiSearchBarDOM.focus();
|
emojiSearchBarDOM.focus();
|
||||||
|
setTimeout(() => {
|
||||||
|
emojiSearchBarDOM.focus();
|
||||||
|
}, 200);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue