forgot to save
This commit is contained in:
parent
ad332b4d47
commit
d4cc322040
1 changed files with 0 additions and 1 deletions
|
|
@ -121,7 +121,6 @@ function HandleItemWishlist() {
|
||||||
ItemWishlist = result.PolyPlus_ItemWishlist || [];
|
ItemWishlist = result.PolyPlus_ItemWishlist || [];
|
||||||
|
|
||||||
let i = ItemWishlist.indexOf(parseInt(ItemID))
|
let i = ItemWishlist.indexOf(parseInt(ItemID))
|
||||||
console.log(i)
|
|
||||||
if (i !== -1) {
|
if (i !== -1) {
|
||||||
ItemWishlist.splice(i, 1)
|
ItemWishlist.splice(i, 1)
|
||||||
WishlistBtn.classList = 'btn btn-primary btn-sm'
|
WishlistBtn.classList = 'btn btn-primary btn-sm'
|
||||||
|
|
|
||||||
Reference in a new issue