Skip to content
Snippets Groups Projects
Commit 42340516 authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

'Clicking twice is not user friendly' -Jinen

parent 67535c06
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
} }
}); });
for (t in triggers) { for (t in triggers) {
$(triggers[t]).change(function() { $(triggers[t]).on("keyup", function() {
var deps = $(this).data('dependents'); var deps = $(this).data('dependents');
for (d in deps) { for (d in deps) {
if ($(this).val()) { if ($(this).val()) {
...@@ -74,7 +74,6 @@ ...@@ -74,7 +74,6 @@
$(deps[d]).hide(); $(deps[d]).hide();
} }
} }
$(deps[0]).focus();
}).change(); }).change();
} }
})("form") })("form")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment