mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
Optimized stock entry form initial input field focus
This commit is contained in:
parent
c0a727fcfc
commit
f7eb8cc127
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user