RHUL-CS-Projects / compsci-superbasics

GitHub-pages hosted minisite with helpful superbasic info for students in CompSci labs (Foundation and CS1811/22)
https://rhul-cs-projects.github.io/compsci-superbasics/
MIT License
0 stars 3 forks source link

interactive file diagrams sometimes don't run on cached pages #5

Open davewhiteland opened 3 years ago

davewhiteland commented 3 years ago

Maybe drop the overkill-on-page-load check before running the JS? I think that's what's not triggering because jumping back and forwards in the browser doesn't seem to always to be triggering it.

davewhiteland commented 3 years ago

Investigated this and even with a flag and timeout, this isn't solved — JS isn't being run when coming back to the page. Maybe setting up an interval polling would fix this but that seems heavyweight for an obscure problem. Can't replicate in other browsers, only Safari.