Is there a way to hide OJS Runtime Errors that appear when first loading an HTML page? #6276
Replies: 4 comments 6 replies
-
This is indeed a super annoying thing about our OJS support. I would love to fix it, but I haven't been able to figure out how to detect and wait for the dependency injection from the import statements that happen asynchronously. |
Beta Was this translation helpful? Give feedback.
-
@thegilpatrick question: Is this in reference to an ojs chunk that truly did fail or is it the situation when a page takes a bit to load and one temporarily sees an ojs chunk failure and then the code executes and it disappears? |
Beta Was this translation helpful? Give feedback.
-
Hi @cscheid are there any updates on this? Should I submit it as an issue? Or is it still not an easily fixable issue? Thanks again for your work on this project! |
Beta Was this translation helpful? Give feedback.
-
FWIW a partial workaround I've used is to hide the errors using css:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hey I have an imported function that takes a second to load on my webpage. While it is loading it displays a OJS runtime error. Is there anyway to hide this error message?
I tried this within the code cell but it didn't work.
Beta Was this translation helpful? Give feedback.
All reactions