Chromium Version Javascript load Html Snippet issues

I have a template that load multiple snippets in the gecko version of the software. We upgraded to the chromium version and now we are getting triple copy of the text that should be on snippet.

var filenum, DDYO, DDYOText = " ";

DDYO = filenum.substring(7,8);
DDYOText = filenum.substring(7,9) + " " + filenum.substring(7,9);

 var b = loadhtml('Snippets/DDYO/BoxY'+DDYO+'.html');
 //var c = loadhtml('Snippets/Reg/Reg.html');
 var c = "";
 var e = loadhtml('Snippets/space.html');

results.prepend(b.text(DDYOText) + e);

This code worked in gecko but now the results return a QueryResults(3) and the text is repeated 3 time.

Thank you

Denis

1 Like

What is the selector of that script?

It is controlled by the css, I had an Id as well as a class. Removed the Id and the problem was resolved.