Fix: display homepage icon for usercss

This commit is contained in:
eight 2017-09-01 18:24:32 +08:00
parent 4dec09708c
commit b3b47697ca

View File

@ -186,7 +186,7 @@ function createStyleElement({style, name}) {
(style.enabled ? 'enabled' : 'disabled') +
(style.updateUrl ? ' updatable' : '');
if (style.url && !style.usercss) {
if (style.url) {
$('.homepage', entry).appendChild(parts.homepageIcon.cloneNode(true));
}
if (style.updateUrl && newUI.enabled) {