document.body is null
Opened this issue · 1 comments
HarmlessDave commented
In Firefox and possibly Edge and Safari the F12 console will show document.body is null and Arrow() will be undefined.
Fix: wrap all of arrow.js into an initialization function and call that before the first use of Arrow. An example called from < body onLoad >
init_arrow();
Arrow.show(8000);
KINGSABRI commented
Thanks @HarmlessDave
It works like a charm!
I faced the same issue on Google Chrome (Version 97.0.4692.99)