Code to show only part of the text works on preview but not online

Hello people, this is really urgent . I made this code to show only part of the texts in the home page, and this was working for the past months, but today this stoped working and I have no idea abou what happened. The permissions are for anyone and sandbox/live are sync. The weirdst is that everything is normal in preview but in the online version is not. PLEASE HELP MEEE!


 
$w("#dataset7").onReady( () => {

    $w("#repeater7").onItemReady( ($item, itemData, index) => {
 let theItem = itemData.texto;
 var shortText= theItem.substr(0,600);
 var shortDescription = theItem.substr(0,35);
      $item("#text110").text = shortText + "...";
      $item("#text112").text = shortDescription + "...";
    });

  } );

//Limitando a exposição de caracteres no texto intermediario
$w("#dataset8").onReady( () => {

    $w("#repeater5").onItemReady( ($item, itemData, index) => {
 let theItem = itemData.texto;
 var shortText= theItem.substr(0,60);
 // var shortDescription = theItem.substr(0,35);
      $item("#text105").text = shortText + "...";
 //$item("#text112").text = shortDescription + "...";
    });

  } );

//Limitando a exposição de caracteres no texto de imp3
$w("#dataset9").onReady( () => {

    $w("#repeater6").onItemReady( ($item, itemData, index) => {
 let theItem = itemData.texto;
 var shortText= theItem.substr(0,75);
 // var shortDescription = theItem.substr(0,35);
      $item("#text109").text = shortText + "...";
 //$item("#text112").text = shortDescription + "...";
    });

  } );

Look, this is the preview page:

And this is the online page:

Hi, it seems like an issue from our side, it should be fixed very soon, please try again in few minutes…

Tnx a lot for your reply! It is already working :slight_smile: