Skip to content

Commit dc924f3

Browse files
committed
Dont require reload for allButtons
1 parent 1f79912 commit dc924f3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/features/posts/buttonHide.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default class ButtonHide extends OLFeature {
1515
this.settingOptions.push(
1616
new SettingToggle(
1717
"Show all buttons on posts",
18-
"Reload required",
18+
"",
1919
"allButtons",
2020
(showAllButtons: boolean) => {
2121
this.disabled = showAllButtons;

src/features/posts/css/buttonHide.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.modal-spawner::before {
22
content: "more_vert";
33
}
4+
li:has(.modal-spawner) {
5+
display: none;
6+
}
47
.hideButtons {
58
.report-button,
69
li:has(.hide-button),
@@ -18,6 +21,9 @@
1821
li:has(.flairoptionpane) {
1922
display: block !important;
2023
}
24+
li:has(.modal-spawner) {
25+
display: block !important;
26+
}
2127
}
2228
.commentCount::after {
2329
content: " comments ";

0 commit comments

Comments
 (0)