Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
fix hide btns
Browse files Browse the repository at this point in the history
  • Loading branch information
LateDreamXD committed May 26, 2024
1 parent c42f7f2 commit 4038fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const page = {
footer.style.display = "none";
hideBtn.setAttribute("tooltip", "展开"),
hideBtn.setAttribute("onclick", "page.displayBox();");
hideBtn.innerHTML = "<img title=\"展开\" class=\"svg\" src=\"../img/plus-solid.svg\">";
hideBtn.innerHTML = "<img title=\"展开\" class=\"svg\" src=\"./img/plus-solid.svg\">";
return;
},
displayBox: () => {
Expand All @@ -66,7 +66,7 @@ const page = {
footer.style.display = "block";
hideBtn.setAttribute("onclick", "page.hideBox();");
hideBtn.setAttribute("tooltip", "收起");
hideBtn.innerHTML = "<img title=\"收起\" class=\"svg\" src=\"../img/minus-solid.svg\">";
hideBtn.innerHTML = "<img title=\"收起\" class=\"svg\" src=\"./img/minus-solid.svg\">";
return;
},
changeTip: target => {
Expand Down

0 comments on commit 4038fde

Please sign in to comment.