Skip to content

Commit

Permalink
Tweaks: Fix "Hide the Communities notification badge" tweak (#1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon authored Jan 19, 2025
1 parent d31a6e7 commit fdee243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/tweaks/hide_communities_notification_badge.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { keyToCss } from '../../utils/css_map.js';
import { buildStyle } from '../../utils/interface.js';
import { translate } from '../../utils/language_data.js';

const communitiesButton = ':is(button, li):has(use[href="#managed-icon__communities"])';
const communitiesButton = `button[aria-label="${translate('Communities')}"]`;
const mobileMenuButton = `button[aria-label="${translate('Menu')}"]`;

export const styleElement = buildStyle(`
Expand Down

0 comments on commit fdee243

Please sign in to comment.