Fix saved wishlist not being marked as saved on load
This commit is contained in:
parent
2c03ffd15b
commit
5901efacb8
1 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ $(function() {
|
||||||
var buttonSave = $('.button.save');
|
var buttonSave = $('.button.save');
|
||||||
|
|
||||||
wishlists.forEach(wishlist => {
|
wishlists.forEach(wishlist => {
|
||||||
if (wishlist.hash == $_GET.wishlist) {
|
if (wishlist.hash == $_GET.hash) {
|
||||||
button_set_saved_state(buttonSave);
|
button_set_saved_state(buttonSave);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue