mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 19:16:37 +00:00
Don't auto reload when database has changed in "fullscreen-card-mode" (fixes #88)
This commit is contained in:
@@ -22,7 +22,7 @@ setInterval(function()
|
||||
{
|
||||
if (Grocy.IdleTime >= 50)
|
||||
{
|
||||
if (BoolVal(Grocy.UserSettings.auto_reload_on_db_change) && $("form.is-dirty").length === 0)
|
||||
if (BoolVal(Grocy.UserSettings.auto_reload_on_db_change) && $("form.is-dirty").length === 0 && !$("body").hasClass("fullscreen-card"))
|
||||
{
|
||||
window.location.reload();
|
||||
}
|
||||
|
Reference in New Issue
Block a user