Skip to content

Commit 2564320

Browse files
authored
damn comments not being stripped
1 parent a51107e commit 2564320

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

templates/base.html

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,26 +82,15 @@
8282
</div>
8383
</div>
8484
<script>
85-
// Get the modal
8685
var modal = document.getElementById("myModal");
87-
88-
// Get the button that opens the modal
8986
var btn = document.getElementById("myBtn");
90-
91-
// Get the <span> element that closes the modal
9287
var span = document.getElementsByClassName("close")[0];
93-
94-
// When the user clicks on the button, open the modal
9588
document.addEventListener("DOMContentLoaded", function() {
9689
modal.style.display = "block";
9790
});
98-
99-
// When the user clicks on <span> (x), close the modal
10091
span.onclick = function() {
10192
modal.style.display = "none";
10293
}
103-
104-
// When the user clicks anywhere outside of the modal, close it
10594
window.onclick = function(event) {
10695
if (event.target == modal) {
10796
modal.style.display = "none";

0 commit comments

Comments
 (0)