Skip to content

Commit

Permalink
fix: 本地化权限组名
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoruaFox committed Feb 20, 2024
1 parent ae4ce95 commit 4189e44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/AdvancedSiteNotices/AdvancedSiteNotices.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/AdvancedSiteNotices/modules/util/matchCriteria.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const matchCriteria = ($notice: JQuery): boolean => {
let criteria: boolean | undefined;

if ($notice.hasClass('only_sysop')) {
criteria ||= in_group('sysop') || in_group('steward') || in_group('qiuwen');
criteria ||= in_group('sysop') || in_group('bureaucrat');
}
if ($notice.hasClass('only_logged')) {
criteria ||= in_group('user');
Expand Down
2 changes: 1 addition & 1 deletion src/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@color-group--bot: #36c;
@color-group--confirmed: #181;
@color-group--patroller: #a60;
@color-group--steward: #800080;
@color-group--bureaucrat: #800080;
@color-group--sysop: #c71590;

@emoji-font: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
Expand Down

0 comments on commit 4189e44

Please sign in to comment.