mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
This commit is contained in:
@@ -66,6 +66,10 @@ $("#search").on("keyup", function()
|
||||
$(document).on('click', '.product-consume-button', function(e)
|
||||
{
|
||||
e.preventDefault();
|
||||
|
||||
// Remove the focus from the current button
|
||||
// to prevent that the tooltip stays until clicked anywhere else
|
||||
document.activeElement.blur();
|
||||
|
||||
var productId = $(e.currentTarget).attr('data-product-id');
|
||||
var productName = $(e.currentTarget).attr('data-product-name');
|
||||
|
Reference in New Issue
Block a user