mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 03:25:50 +00:00
More initial form field focus optimizations
This commit is contained in:
@@ -31,11 +31,11 @@ $("#expected_barcode").on("keyup", function(e)
|
||||
}
|
||||
});
|
||||
|
||||
$("#expected_barcode").focus();
|
||||
setTimeout(function()
|
||||
{
|
||||
$("#barcodescanner-start-button").attr("disabled", "");
|
||||
$("#barcodescanner-start-button").addClass("disabled");
|
||||
$("#expected_barcode").focus();
|
||||
}, 500);
|
||||
|
||||
if (GetUriParam("barcode") !== undefined)
|
||||
|
Reference in New Issue
Block a user