Hello people, this has been really urgent for three days. I made this code to only show part of the texts in the homepage, and it was working but for three days it has stopped working and I have no idea what happened. Permissions are for everyone and sandbox / live are synchronized. The strangest thing is that everything is normal in preview, but not in the online version. PLEASE HELP MEEE! $w.onReady( () => { $w("#dataset1").onReady( () => {
$w("#repeater1").onItemReady( ($item, itemData, index) => {
let theItem = itemData.description;
var shortDescription = theItem.substr(0,25);
$item("#description").text = shortDescription + " . . . ";
});
} );
} );
https://textes2021.wixsite.com/monsite
Check if the $w('#description') is connected to dataset. That element is being filling by code not by dataset.