Browse Source

add loading

master
Gitea 4 years ago
parent
commit
cf147d7d39
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      templates/repo/cloudbrain/new.tmpl

+ 2
- 1
templates/repo/cloudbrain/new.tmpl View File

@@ -86,6 +86,7 @@
function showmask() {
document.getElementById("mask").style.display = "block"
}

// 页面加载完毕后遮罩层隐藏
document.onreadystatechange = function() {
if (document.readyState === "complete") {
@@ -163,4 +164,4 @@
</div>
</div>
</div>
{{template "base/footer" .}}
{{template "base/footer" .}}

Loading…
Cancel
Save