Skip to content

Commit

Permalink
final hopefully
Browse files Browse the repository at this point in the history
update
  • Loading branch information
jonassahin01 committed May 16, 2024
1 parent 1e8b497 commit 5afcf46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function showHitokoto() {
fetch(url, options)
.then((response) => response.json())
.then((result) => {
const text = `This quote comes from... <span>「${result.url}」</span>,By <span>${result.name}</span> `;
const text = `This quote comes from... <span>「${result.originator.url}」</span>,By <span>${result.originator.name}</span> `;
showMessage(result.content, 6000, 9);
setTimeout(() => {
showMessage(text, 4000, 9);
Expand Down Expand Up @@ -66,7 +66,7 @@ const tools = {
info: {
icon: fa_info_circle,
callback: () => {
open("https://github.com/stevenjoezhang/live2d-widget");
open("https://mindset.onthewifi.com/about");
},
},
quit: {
Expand Down
4 changes: 2 additions & 2 deletions waifu-tips.js
Original file line number Diff line number Diff line change
Expand Up @@ -29608,7 +29608,7 @@
fetch(url, options)
.then((t) => t.json())
.then((t) => {
const e = `This quote comes from... <span>「${t.url}」</span>,by <span>${t.name}</span>`;
const e = `This quote comes from... <span>「${t.originator.url}」</span>,By <span>${t.originator.name}</span>`;
i(t.content, 6e3, 9),
setTimeout(() => {
i(e, 4e3, 9);
Expand Down Expand Up @@ -29649,7 +29649,7 @@
info: {
icon: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --\x3e<path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>',
callback: () => {
open("https://github.com/stevenjoezhang/live2d-widget");
open("https://mindset.onthewifi.com/about");
},
},
quit: {
Expand Down

0 comments on commit 5afcf46

Please sign in to comment.