Update waifu-tips.js

This commit is contained in:
PFiS 2021-02-14 22:23:04 +08:00 committed by GitHub
parent cf203aa86a
commit aecffb2db9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ function loadWidget(config) {
Live2D.captureFrame = true; Live2D.captureFrame = true;
}); });
document.querySelector("#waifu-tool .fa-info-circle").addEventListener("click", () => { // 关于页转跳 document.querySelector("#waifu-tool .fa-info-circle").addEventListener("click", () => { // 关于页转跳
open("https://github.com/PFiS1737/PFiS_Public_Repository/tree/main/page/effect/Live2D/live2d-widget"); //关于页链接 open("https://github.com/stevenjoezhang/live2d-widget"); //关于页链接
}); });
document.querySelector("#waifu-tool .fa-times").addEventListener("click", () => { // 关闭看板娘 document.querySelector("#waifu-tool .fa-times").addEventListener("click", () => { // 关闭看板娘
localStorage.setItem("waifu-display", Date.now()); localStorage.setItem("waifu-display", Date.now());