mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
🚚 chore(js): rename minified files
This commit is contained in:
parent
3f5ed8a584
commit
4b43229d0a
12 changed files with 8 additions and 8 deletions
1
static/js/hyvortalk.min.js
vendored
Normal file
1
static/js/hyvortalk.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
function initHyvorTalk(){var t=document.querySelector("#comments");if(t){var e=t.getAttribute("data-website-id"),a=t.getAttribute("data-page-id"),i=t.getAttribute("data-page-language"),d=t.getAttribute("data-loading"),r=t.getAttribute("data-page-author"),n=document.createElement("script");n.src="https://talk.hyvor.com/embed/embed.js",n.async=!0,n.type="module",document.head.appendChild(n);const o=document.createElement("hyvor-talk-comments");o.setAttribute("website-id",e),o.setAttribute("page-id",a),o.setAttribute("page-language",i),o.setAttribute("loading",d),o.setAttribute("page-author",r);n=document.documentElement.getAttribute("data-theme")||"light";o.setAttribute("colors",n),t.appendChild(o),window.addEventListener("themeChanged",t=>{t=t.detail.theme;o.setAttribute("colors",t)})}}initHyvorTalk();
|
Loading…
Add table
Add a link
Reference in a new issue