Skrócenie czasu odświeżania strony po dodaniu produktu lub kombinacji do 250 ms
This commit is contained in:
@@ -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>";
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user