Compare commits

...

1 commit

Author SHA1 Message Date
Henry Jameson
a42a207e1b fix v2 on v1 2018-11-26 05:35:27 +03:00

View file

@ -58,6 +58,12 @@ const setColors = (col, commit) => {
const body = document.body
body.style.display = 'none'
// This prevents white screen with v2 themes on v1 engine
if (!col.text) {
body.style.display = 'initial'
return
}
const styleEl = document.createElement('style')
head.appendChild(styleEl)
const styleSheet = styleEl.sheet