mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(index) rm DOMContentLoaded
This commit is contained in:
parent
a74e49f4ab
commit
74a1da51ff
1 changed files with 1 additions and 10 deletions
|
|
@ -33,16 +33,7 @@
|
|||
</div>
|
||||
<script src="{{ prefix }}/cloudcmd.js"></script>
|
||||
<script>
|
||||
!(function() {
|
||||
'use strict';
|
||||
|
||||
window.addEventListener('DOMContentLoaded', load);
|
||||
|
||||
function load() {
|
||||
window.removeEventListener('DOMContentLoaded', load);
|
||||
CloudCmd('{{ prefix }}');
|
||||
}
|
||||
})();
|
||||
CloudCmd('{{ prefix }}');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue