Skrócenie czasu odświeżania strony po dodaniu produktu lub kombinacji do 250 ms

This commit is contained in:
2025-02-10 19:59:05 +01:00
parent bc3e4fcf19
commit 518c08392e

View File

@@ -486,6 +486,6 @@ foreach ($productsBySymbol as $symbol => $products) {
}
// reload page after 1s if product or combination was added
if ($productAdded || $combinationAdded) {
echo "<script>setTimeout(function(){location.reload();}, 2000);</script>";
echo "<script>setTimeout(function(){location.reload();}, 250);</script>";
}
?>