Thanks Felix. That worked. I’ve now included the script, plus my options
script, the theme css and language css in the TMLs that need it, and Offline is
now working well.
BTW, I think Offline.js has a flaw in its init logic which could still occur
sometimes. It assumes that if document.readySta
There are multiple options. Adding explicit
Hi Geoff,
still fighting with Offline.js ? :-)
What about loading offline.js in the head of the document, with a regular
tag as a child of the tag? Tapestry
is being loaded at the end of the document before the closing tag.
2016-05-19 15:19 GMT+02:00 JumpStart :
> In T5.4, how can I make a
In T5.4, how can I make a script load ahead of all the others, including
Tapestry’s js? The others load async so I think I need this one to load
synchronously. .
The script is offline.js. My problem is that offline.js works only sometimes -
it has its own detection of DOMContentLoaded and docum