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
{{ message }}
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.
There is an error on this line: // attach all elements to the DOM
this.viewport.appendChild(this.element);
this.container.appendChild(this.viewport);
Does anybody know how to fix it?
The text was updated successfully, but these errors were encountered:
I ran into that too. this.container is supposed to refer to document.body, but when it is being defined (on line 279) the document hasn't finished loading yet so document.body is still null.
I "fixed" it by adding
if (this.container == null) this.container = document.body;
to line 451 (where DOM and document are ready). Ugly, but it works.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is an error on this line: // attach all elements to the DOM
this.viewport.appendChild(this.element);
this.container.appendChild(this.viewport);
Does anybody know how to fix it?
The text was updated successfully, but these errors were encountered: