diff --git a/theme/static/js/script.js b/theme/static/js/script.js index 5e5505582c439115f81e884044c9269419ebc083..750611052c4c3b7efca5b2f8f35f0961eef01279 100644 --- a/theme/static/js/script.js +++ b/theme/static/js/script.js @@ -65,7 +65,7 @@ } }); for (t in triggers) { - $(triggers[t]).change(function() { + $(triggers[t]).on("keyup", function() { var deps = $(this).data('dependents'); for (d in deps) { if ($(this).val()) { @@ -74,7 +74,6 @@ $(deps[d]).hide(); } } - $(deps[0]).focus(); }).change(); } })("form")