This commit is contained in:
root 2021-06-02 11:14:10 +00:00
commit 59c6e7e8d1
2 changed files with 12 additions and 9 deletions

View File

@ -11,12 +11,4 @@ closeMenu.onclick = function () {
var searchModal = document.getElementById("searchModal");
var searchBtn = document.getElementById("menuBtn");
var searchClose = document.getElementById("searchClose");
searchBtn.onclick = function () {
searchModal.classList.add("active");
};
searchClose.onclick = function () {
searchModal.classList.remove("active");
};

View File

@ -180,5 +180,16 @@ random = 0
</div>
</div>
</div>
<script>
var searchModal = document.getElementById("searchModal");
var searchBtn = document.getElementById("menuBtn");
var searchClose = document.getElementById("searchClose");
searchBtn.onclick = function () {
searchModal.classList.add("active");
};
searchClose.onclick = function () {
searchModal.classList.remove("active");
};
</script>
<!-- main end
================================================ -->