Solved the problem myself! For anyone else who has the same issue:
I think I solved it by replacing
query.remove and query.add with
wixLocation . queryParams.remove wixLocation . queryParams.add.
That did the trick.
Solved the problem myself! For anyone else who has the same issue:
I think I solved it by replacing
query.remove and query.add with
wixLocation . queryParams.remove wixLocation . queryParams.add.
That did the trick.