Fix: display homepage icon for usercss
This commit is contained in:
parent
4dec09708c
commit
b3b47697ca
|
@ -186,7 +186,7 @@ function createStyleElement({style, name}) {
|
||||||
(style.enabled ? 'enabled' : 'disabled') +
|
(style.enabled ? 'enabled' : 'disabled') +
|
||||||
(style.updateUrl ? ' updatable' : '');
|
(style.updateUrl ? ' updatable' : '');
|
||||||
|
|
||||||
if (style.url && !style.usercss) {
|
if (style.url) {
|
||||||
$('.homepage', entry).appendChild(parts.homepageIcon.cloneNode(true));
|
$('.homepage', entry).appendChild(parts.homepageIcon.cloneNode(true));
|
||||||
}
|
}
|
||||||
if (style.updateUrl && newUI.enabled) {
|
if (style.updateUrl && newUI.enabled) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user