@wix - I know this is a small issue but it would be great of you guys could put it in the queue to be fixed.
When setting a URL with code and the target to “_self” so that it opens in the same tab it doesn’t work, for instance:
let url = 'https://www.wix.com/corvid/forum/community-discussion'
$w("#buttonGo").link = url;
$w("#buttonGo").target = '_self';
I’m building a dynamic URL hence using code instead of the UI to set the link. Also, even when setting the target to “_blank” or just not defining it the button doesn’t work on the first click, it has to be clicked a second time before it works. And no, my on-click handler is not set to onDblClick, I checked.
Thank you
Tiaan