Skip to content

Commit

Permalink
修复评论按钮多次点击导致的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
Meekdai committed Nov 12, 2024
1 parent 35263fd commit ac556c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ <h1 class="postTitle">{{ blogBase['postTitle'] }}</h1>
function openComments(){
cm=document.getElementById("comments");
cmButton=document.getElementById("cmButton");
cmButton.disabled=true;
cmButton.innerHTML="loading";
span=document.createElement("span");
span.setAttribute("class","AnimatedEllipsis");
Expand Down

0 comments on commit ac556c5

Please sign in to comment.