Fix wishlist not selecting on reload

This commit is contained in:
Jay Trees 2022-01-18 12:16:00 +01:00
parent 6c32ce3415
commit cfdd49bb23

View file

@ -1,9 +1,4 @@
$(function() {
/**
* URL Parameter
*/
const urlParams = new URLSearchParams(window.location.search);
/**
* Fomantic UI
*/
@ -20,6 +15,11 @@ $(function() {
});
function wishlistRefresh() {
/**
* URL Parameter
*/
const urlParams = new URLSearchParams(window.location.search);
$('.ui.dropdown.wishlists').api({
action: 'get wishlists',
method: 'GET',