Skip to content

Commit

Permalink
Update: Enhanced loading times (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed May 24, 2024
1 parent 3a0fae0 commit c95d1f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MovieVerse-Frontend/js/comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ commentForm.addEventListener("submit", async (e) => {
}
});

var modal = document.getElementById("comment-modal");
var btn = document.getElementById("toggle-comment-modal");
var span = document.getElementsByClassName("close")[0];
let modal = document.getElementById("comment-modal");
let btn = document.getElementById("toggle-comment-modal");
let span = document.getElementsByClassName("close")[0];

btn.onclick = function() {
modal.style.display = "block";
Expand Down

0 comments on commit c95d1f4

Please sign in to comment.