diff --git a/change.js b/change.js index 245fd88..71e7b55 100644 --- a/change.js +++ b/change.js @@ -11,7 +11,7 @@ if (newcss) return; newcss = document.createElement("link"); newcss.rel = "stylesheet"; - newcss.href = "new1.css"; + newcss.href = "new2.css"; head.appendChild(newcss); // link要素を追加 }); @@ -19,7 +19,7 @@ if (newcss) return; newcss = document.createElement("link"); newcss.rel = "stylesheet"; - newcss.href = "new2.css"; + newcss.href = "new3.css"; head.appendChild(newcss); // link要素を追加 }); @@ -28,7 +28,7 @@ newcss = document.createElement("link"); newcss.rel = "stylesheet"; // ※newcss.title = "あとから版"; // title属性入れると代替CSSに - newcss.href = "new3.css"; + newcss.href = "new4.css"; head.appendChild(newcss); // link要素を追加 }); @@ -36,15 +36,15 @@ if (newcss) return; newcss = document.createElement("link"); newcss.rel = "stylesheet"; - newcss.href = "new4.css"; + newcss.href = "new5.css"; head.appendChild(newcss); // link要素を追加 }); - cssbtn5.addEventListener("click", (e) => { + cssbtn5.addEventListener("click", (e) => { if (newcss) return; newcss = document.createElement("link"); newcss.rel = "stylesheet"; - newcss.href = "new5.css"; + newcss.href = "new6.css"; head.appendChild(newcss); // link要素を追加 }); diff --git a/index.html b/index.html index 2585e91..a4c0dd9 100644 --- a/index.html +++ b/index.html @@ -43,10 +43,10 @@