changeTheme() to ES2015

removed ancient String.substr
This commit is contained in:
djmaze 2020-08-19 16:47:33 +02:00
parent 53451a1236
commit 578925c904
3 changed files with 34 additions and 69 deletions

View file

@ -80,7 +80,6 @@ function writeCSS(css) {
const style = doc.createElement('style');
style.type = 'text/css';
style.textContent = css;
// style.appendChild(doc.createTextNode(styles));
doc.head.appendChild(style);
}