mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 19:16:37 +00:00
Revert "Refresh product/chore/battery card only when actually visible"
This reverts commit c934bfb7b3
.
This commit is contained in:
@@ -2,11 +2,6 @@ Grocy.Components.ChoreCard = {};
|
||||
|
||||
Grocy.Components.ChoreCard.Refresh = function(choreId)
|
||||
{
|
||||
if (!$(".chorecard").is(":visible"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Grocy.Api.Get('chores/' + choreId,
|
||||
function(choreDetails)
|
||||
{
|
||||
|
Reference in New Issue
Block a user