Skip to content

Commit

Permalink
Restore links under 'Tools' in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
MusikAnimal committed Dec 19, 2019
1 parent 3f4df04 commit 60f48ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion dist/MoreMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ $(function () {


function removeNativeLinks() {
var linksToRemove = ['#ca-protect', '#ca-unprotect', '#ca-delete', '#ca-undelete', '#t-contributions', '#t-log', '#t-blockip', '#t-emailuser', '#t-userrights', '#t-info', '#t-pagelog'];
var linksToRemove = ['#ca-protect', '#ca-unprotect', '#ca-delete', '#ca-undelete'];
$(linksToRemove.join(',')).remove();
handleHistoryAndWatchLinks();
/** Check local storage to see if user continually has items added to the native menu. */
Expand Down
7 changes: 0 additions & 7 deletions src/MoreMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -832,13 +832,6 @@ $(() => {
'#ca-unprotect',
'#ca-delete',
'#ca-undelete',
'#t-contributions',
'#t-log',
'#t-blockip',
'#t-emailuser',
'#t-userrights',
'#t-info',
'#t-pagelog',
];
$(linksToRemove.join(',')).remove();

Expand Down

0 comments on commit 60f48ab

Please sign in to comment.