Problem with onClick() event

@bertolinoand
Did you change your code, which i gave to in my last post?
Delete your export function and paste my code shown above (paste it into the onReady-code-part).

…delete your old one…

import wixLocation from 'wix-location';

export function box7_click(event) {console.log("Clicked")
    wixLocation.to("/Timer"); 
}

… & paste this one… (into the onReady-section)

$w.onReady(function(){
    $w('#box7').onClick(()=>{console.log("Clicked")
        wixLocation.to("/Timer");
    });
});

Take a look into —> CONSOLE! Did you get any message?

You can also do the same with your old code. Do you get any message ?

Why changing the code?
Because i assume that the connection between CODE and PROPERTY-PANEL is broken somehow.

Take a look here to get more info about PROPERTY-PANEL…