Skip to content

Commit

Permalink
fix: remove button in pteer
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Apr 18, 2024
1 parent 6083de8 commit edc8ef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
button.style.border = "1px solid #ddd"; // 浅灰色边框
button.style.padding = "5px 10px"; // 内边距
button.style.borderRadius = "5px"; // 圆角
document.body.appendChild(button);
// document.body.appendChild(button);

button.onclick = function () {
const currentlyReading = localStorage.getItem("read") === "true";
Expand Down Expand Up @@ -287,7 +287,7 @@
toggleAutoLikeButton.style.border = "1px solid #ddd"; // 浅灰色边框
toggleAutoLikeButton.style.padding = "5px 10px"; // 内边距
toggleAutoLikeButton.style.borderRadius = "5px"; // 圆角
document.body.appendChild(toggleAutoLikeButton);
// document.body.appendChild(toggleAutoLikeButton);

// 为按钮添加点击事件处理函数
toggleAutoLikeButton.addEventListener("click", () => {
Expand Down

0 comments on commit edc8ef0

Please sign in to comment.