Skip to content

Commit

Permalink
build(Wikiplus): remove special settings for zhwikipedia
Browse files Browse the repository at this point in the history
  • Loading branch information
WaitSpringQW committed Aug 6, 2024
1 parent 208aefa commit 4eaafaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/Wikiplus/Wikiplus.js

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions src/Wikiplus/modules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ $(async () => {
Settings.getSetting('escToExitQuickEdit') === true ||
Settings.getSetting('escToExitQuickEdit') === 'true';
const customEditTags = Settings.getSetting('custom_edit_tags');
const defaultEditTags =
location.host.includes('zh.wikipedia.org') || location.host.includes('zh.m.wikipedia.org')
? ['wikiplus']
: [];
const defaultEditTags = [];
const editTags = customEditTags?.length ? customEditTags : defaultEditTags;
clearTimeout(timer);
Notification.empty();
Expand Down

0 comments on commit 4eaafaa

Please sign in to comment.