Fix Miscellaneous features being enabled erroneously.
This commit is contained in:
parent
c05fba3f3f
commit
3b7f73b9ac
|
@ -163,6 +163,7 @@ async function initialize() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (enabledFeatures.value.has(Feature.Miscellaneous)) {
|
||||||
if (miscEnabled.value.has(MiscellaneousFeature.CommentAnchorFix)) {
|
if (miscEnabled.value.has(MiscellaneousFeature.CommentAnchorFix)) {
|
||||||
runCommentAnchorFixFeature();
|
runCommentAnchorFixFeature();
|
||||||
}
|
}
|
||||||
|
@ -194,6 +195,7 @@ async function initialize() {
|
||||||
) {
|
) {
|
||||||
runUnignoreAllButtonFeature();
|
runUnignoreAllButtonFeature();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Insert a placeholder at the end of the body first, then render the rest
|
// Insert a placeholder at the end of the body first, then render the rest
|
||||||
// and use that as the replacement element. Otherwise render() would put it
|
// and use that as the replacement element. Otherwise render() would put it
|
||||||
|
|
Loading…
Reference in New Issue