We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/toxic-johann/es-fullscreen/blob/master/src/index.js#L22
js 代码全部都放在,head 标签里的时候,可能 body标签都没有加载出来, 就去执行这句,然后找不到 body 了 建议使用 document.documentElement
The text was updated successfully, but these errors were encountered:
[fix] use document.documentElement as backup when there is no documen…
02ff169
…t.body why: if user include our library in the head, they may cause error as there is no document.body fix[https://github.com/toxic-johann/es-fullscreen/issues/3](https://github.com/toxic-johann/es-fullscreen/issues/3)
117ee72
toxic-johann
No branches or pull requests
https://github.com/toxic-johann/es-fullscreen/blob/master/src/index.js#L22
js 代码全部都放在,head 标签里的时候,可能 body标签都没有加载出来, 就去执行这句,然后找不到 body 了
建议使用 document.documentElement
The text was updated successfully, but these errors were encountered: