mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Optimized form input field navigation delay
This commit is contained in:
@@ -882,3 +882,10 @@ $(document).on("click", '.btn, a, button', function(e)
|
||||
document.activeElement.blur();
|
||||
$(".tooltip").tooltip("hide");
|
||||
});
|
||||
|
||||
// Delay only initial field focus
|
||||
Grocy.FormFocusDelay = 500;
|
||||
setTimeout(function()
|
||||
{
|
||||
Grocy.FormFocusDelay = 0;
|
||||
}, 1000);
|
||||
|
Reference in New Issue
Block a user