Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ybw2016v committed May 11, 2023
1 parent 8f074bf commit d802ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function dog_add_fy_old(eldog) {
dogbt.addEventListener('click', dog_fy);//绑定翻译函数
const ctdog=eldog.getElementsByClassName('content')[0];
const ydog = ctdog.getElementsByClassName('text')[0];
ydog.setAttribute("neko", "text fanyi-cont");
ydog.setAttribute("neko", "fanyi-cont");
const fyc = document.createElement("div");
fyc.setAttribute("class", "fanyi");
fyc.ct=0;
Expand Down
2 changes: 1 addition & 1 deletion user.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ var ApiUrl = 'https://test1-api.dogcraft.top/ts/';
dogbt.addEventListener('click', dog_fy);//绑定翻译函数
const ctdog = eldog.getElementsByClassName('content')[0];
const ydog = ctdog.getElementsByClassName('text')[0];
ydog.setAttribute("neko", "text fanyi-cont");
ydog.setAttribute("neko", "fanyi-cont");
const fyc = document.createElement("div");
fyc.setAttribute("class", "fanyi");
fyc.ct = 0;
Expand Down

0 comments on commit d802ffe

Please sign in to comment.