Fix saved wishlist not being marked as saved on load

This commit is contained in:
grandeljay 2022-06-21 08:21:02 +02:00
parent 2c03ffd15b
commit 5901efacb8

View file

@ -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;
} }