Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -190,7 +190,7 @@
|
|
190 |
font-weight: bold;
|
191 |
}
|
192 |
</style>
|
193 |
-
<link id="googleFont" href="https://fonts.googleapis.com/css?family=Noto+Sans+JP" rel="stylesheet">
|
194 |
<style id="fontFamily">
|
195 |
body {
|
196 |
font-family: "Noto Sans JP";
|
@@ -856,7 +856,7 @@
|
|
856 |
document.getElementById("googleFontInput").addEventListener("change", function () {
|
857 |
let f = document.getElementById("fontFamily");
|
858 |
let i = this;
|
859 |
-
document.getElementById("googleFont").setAttribute("href", "https://fonts.googleapis.com/css?family=" + i.value.trim());
|
860 |
f.textContent = 'body { font-family: "' + i.value.trim() + '"; }';
|
861 |
});
|
862 |
|
|
|
190 |
font-weight: bold;
|
191 |
}
|
192 |
</style>
|
193 |
+
<link id="googleFont" href="https://fonts.googleapis.com/css?display=swap&family=Noto+Sans+JP" rel="stylesheet">
|
194 |
<style id="fontFamily">
|
195 |
body {
|
196 |
font-family: "Noto Sans JP";
|
|
|
856 |
document.getElementById("googleFontInput").addEventListener("change", function () {
|
857 |
let f = document.getElementById("fontFamily");
|
858 |
let i = this;
|
859 |
+
document.getElementById("googleFont").setAttribute("href", "https://fonts.googleapis.com/css?display=swap&family=" + i.value.trim());
|
860 |
f.textContent = 'body { font-family: "' + i.value.trim() + '"; }';
|
861 |
});
|
862 |
|