Created
February 24, 2020 13:16
-
-
Save partyka1/7aa7a53455e7a15a5ed385a8b6968ba6 to your computer and use it in GitHub Desktop.
melania koduje
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$w.onReady(function () { | |
$w('#repeater2').onItemReady(($item, itemData, index) => { | |
var indices = [16,17]; | |
for(var i = 0; i < indices.length; ++i){ | |
var index = indices[i]; | |
$item('#text' + index).onClick(() => { | |
wixLocation.to(itemData.postPageUrl); | |
}); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment