summaryrefslogtreecommitdiff
path: root/neo/src/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'neo/src/index.html')
-rw-r--r--neo/src/index.html14
1 files changed, 0 insertions, 14 deletions
diff --git a/neo/src/index.html b/neo/src/index.html
index ec90934..a8e112f 100644
--- a/neo/src/index.html
+++ b/neo/src/index.html
@@ -6,20 +6,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<title>Yuuta Liang</title>
- <script>
- document.addEventListener("DOMContentLoaded", () => {
- fetch('https://yuuta.moe/quote/')
- .then((response) => response.json())
- .then((data) => {
- const q = document.querySelector('#quote');
- q.title = data.text_zh;
- q.innerHTML = data.text;
- const t = document.querySelector('#quote_title');
- t.title = data.title_zh;
- t.innerHTML = data.title;
- });
- });
- </script>
</head>
<body>