diff --git a/templates/web/thesaurus/thesaurus.html.twig b/templates/web/thesaurus/thesaurus.html.twig index d20a940d60..692d5ad355 100644 --- a/templates/web/thesaurus/thesaurus.html.twig +++ b/templates/web/thesaurus/thesaurus.html.twig @@ -88,7 +88,12 @@ modal: true, title: "???", autoOpen:false, - width:400 + width: 400, + open: function () { + $("#NEWSY_DLG input[type=\"text\"]").on('click', function () { + $(this).focus(); + }); + } }); }