You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use rangyinputs in a Chrome extension, and many times the line
getBody().appendChild(testTextArea);
throws
Cannot read property 'appendChild' of undefined
Probably in pages where they don't have a proper "body".
The text was updated successfully, but these errors were encountered:
It usually happens if the script is being called before the body is rendered. Try running the chrome extension script once the body is rendered or loaded. Use something like window.onload.
hmm strange. It should not be an issue with this library though. Maybe you are loading multiple jquery libraries or maybe the latest one instead of the actual jquery library version this library relies on?
I don't think there will be a page without a body element though. If you feel so, maybe elaborate on this (give an example?)
We use rangyinputs in a Chrome extension, and many times the line
getBody().appendChild(testTextArea);
throws
Cannot read property 'appendChild' of undefined
Probably in pages where they don't have a proper "body".
The text was updated successfully, but these errors were encountered: