drop stylus-
from hash
...because this is about styles, not Stylus, unlike stylus-options
This commit is contained in:
parent
a96bd326e3
commit
b9f4109a41
|
@ -983,12 +983,12 @@ a:hover {
|
||||||
.injection-order-dialog > div {
|
.injection-order-dialog > div {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
#stylus-injection-order {
|
#injection-order {
|
||||||
display: block;
|
display: block;
|
||||||
border: 0;
|
border: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
#stylus-injection-order.fadeout {
|
#injection-order.fadeout {
|
||||||
animation: slideout .25s ease-in-out;
|
animation: slideout .25s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ newUI.renderClass();
|
||||||
installed.on('mouseover', Events.lazyAddEntryTitle, {passive: true});
|
installed.on('mouseover', Events.lazyAddEntryTitle, {passive: true});
|
||||||
installed.on('mouseout', Events.lazyAddEntryTitle, {passive: true});
|
installed.on('mouseout', Events.lazyAddEntryTitle, {passive: true});
|
||||||
$('#manage-options-button').onclick = () => router.updateHash('#stylus-options');
|
$('#manage-options-button').onclick = () => router.updateHash('#stylus-options');
|
||||||
$('#injection-order-button').onclick = () => router.updateHash('#stylus-injection-order');
|
$('#injection-order-button').onclick = () => router.updateHash('#injection-order');
|
||||||
$('#sync-styles').onclick = () => router.updateHash('#stylus-options');
|
$('#sync-styles').onclick = () => router.updateHash('#stylus-options');
|
||||||
$$('#header a[href^="http"]').forEach(a => (a.onclick = Events.external));
|
$$('#header a[href^="http"]').forEach(a => (a.onclick = Events.external));
|
||||||
document.on('visibilitychange', handleVisibilityChange);
|
document.on('visibilitychange', handleVisibilityChange);
|
||||||
|
@ -110,9 +110,9 @@ router.watch(
|
||||||
}))
|
}))
|
||||||
);
|
);
|
||||||
router.watch(
|
router.watch(
|
||||||
{hash: '#stylus-injection-order'},
|
{hash: '#injection-order'},
|
||||||
EmbedDialog(() => $create('iframe', {
|
EmbedDialog(() => $create('iframe', {
|
||||||
id: 'stylus-injection-order',
|
id: 'injection-order',
|
||||||
src: '/injection-order/injection-order.html',
|
src: '/injection-order/injection-order.html',
|
||||||
}))
|
}))
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user