mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-09-22 00:00:59 +02:00
Go to cart view after new cart was created.
This commit is contained in:
parent
ea5c133003
commit
c7e7d27b53
|
@ -11,7 +11,7 @@ function newCart() {
|
|||
return;
|
||||
}
|
||||
model.carts.add(name);
|
||||
location.href = `${location.pathname}?name=${encodeURIComponent(name)}`;
|
||||
location.href = `cart.html?name=${encodeURIComponent(name)}`;
|
||||
}
|
||||
|
||||
function importCarts(importedCarts) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user