Java scripts works in mobile preview in wix , but doesnt work in published mobile site

https://www.alphastrikers.store/products this is the site

Hey Buba :raised_hand_with_fingers_splayed:

Your if statement is placed outside the onReady() function of the page, that’s why it’s not working on mobile.

if(wixWindow.formFactor === "Mobile") {
      $w("#GamepageDropdown").show();
}

I suggest that you move it inside the onReady() function.

$w.onReady(function () {
    if(wixWindow.formFactor === "Mobile") {
           $w("#GamepageDropdown").show();
    }
});

Hope this helps~!
Ahmad