name-color 0.2 (- debug oops)
This commit is contained in:
parent
1d526e8365
commit
e719a80f1f
1 changed files with 0 additions and 3 deletions
|
@ -55,15 +55,12 @@ function doit() {
|
||||||
document.head.querySelectorAll(".name-color-stylesheet").forEach(s => s.remove());
|
document.head.querySelectorAll(".name-color-stylesheet").forEach(s => s.remove());
|
||||||
style2.className = "name-color-stylesheet";
|
style2.className = "name-color-stylesheet";
|
||||||
};
|
};
|
||||||
style2.count = style.count + 1;
|
|
||||||
console.log(style2.count);
|
|
||||||
document.head.appendChild(style2);
|
document.head.appendChild(style2);
|
||||||
} else {
|
} else {
|
||||||
style = document.createElement("link");
|
style = document.createElement("link");
|
||||||
style.className = "name-color-stylesheet";
|
style.className = "name-color-stylesheet";
|
||||||
style.rel = "stylesheet";
|
style.rel = "stylesheet";
|
||||||
style.href = url.toString();
|
style.href = url.toString();
|
||||||
style.count = 0;
|
|
||||||
document.head.appendChild(style);
|
document.head.appendChild(style);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue