mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Optimized stock entry form initial input field focus
This commit is contained in:
@@ -123,5 +123,8 @@ $("#amount").on("focus", function(e)
|
||||
});
|
||||
|
||||
Grocy.Components.UserfieldsForm.Load();
|
||||
$("#amount").focus();
|
||||
setTimeout(function()
|
||||
{
|
||||
$('#amount').focus();
|
||||
}, 250);
|
||||
Grocy.FrontendHelpers.ValidateForm("stockentry-form");
|
||||
|
Reference in New Issue
Block a user