cleanup code

This commit is contained in:
pypy
2020-01-12 22:16:17 +09:00
parent 18dc67e0fe
commit a3b224ed6c

View File

@@ -195,7 +195,7 @@ CefSharp.BindObjectAsync(
var $appDarkStyle = document.createElement('link');
$appDarkStyle.rel = 'stylesheet';
$appDarkStyle.href = `app.dark.css?_=${Date.now()}`;
document.getElementsByTagName('head')[0].appendChild($appDarkStyle);
document.head.appendChild($appDarkStyle);
//
// API