mirror of https://github.com/Meekdai/Gmeek.git
修复评论按钮多次点击导致的BUG
This commit is contained in:
parent
35263fd99d
commit
ac556c5cba
|
|
@ -92,6 +92,7 @@ document.getElementById("pathHome").setAttribute("d",IconList["home"]);
|
||||||
function openComments(){
|
function openComments(){
|
||||||
cm=document.getElementById("comments");
|
cm=document.getElementById("comments");
|
||||||
cmButton=document.getElementById("cmButton");
|
cmButton=document.getElementById("cmButton");
|
||||||
|
cmButton.disabled=true;
|
||||||
cmButton.innerHTML="loading";
|
cmButton.innerHTML="loading";
|
||||||
span=document.createElement("span");
|
span=document.createElement("span");
|
||||||
span.setAttribute("class","AnimatedEllipsis");
|
span.setAttribute("class","AnimatedEllipsis");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue