-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
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
Wrong execution order of <script>
tag without src
and defer
#1984
Comments
I have a dictionary containing a JavaScript Source File that no longer works on the latest version. |
Need more info. |
|
|
This is related to 939e786 Not every The Edit: The Edit2: I think this is the same issue http://forum.freemdict.com/t/topic/11495/3575 |
maybe should wrap around the
|
We can just use standardized stuffs. // new gd build-in
function gd_onReady(func) {
if (document.readyState !== 'loading') {
func();
} else {
document.addEventListener('DOMContentLoaded', func);
}
} <script>
gd_onReady(()=> {
[content]
})
</script> |
以前这个词典可以正常使用的,就是最近升级后不能用了。 |
This dictionary used to work normally, but it no longer works after a recent upgrade. |
<script>
tag without src
and defer
我有一个包含 JavaScript Source File 的词典在最新版上不能用了。
The text was updated successfully, but these errors were encountered: