Skip to content

Commit

Permalink
make unfollowers link be hidden too
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Oct 9, 2023
1 parent ee77592 commit b8c4cb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions layouts/header/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ function hideStuff() {
if(vars.hideUnfollowersPage) {
hideStyle.innerHTML += `
#navbar-user-menu-unfollowers { display: none !important; }
.unfollowers-link { display: none !important; }
`;
}
if(hideStyle.innerHTML !== '') {
Expand Down
2 changes: 1 addition & 1 deletion layouts/profile/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ async function renderFollowers(clear = true, cursor) {
<button class="tiny-button" id="switch-filtering" style="vertical-align:text-bottom">${LOC.filter.message}</button>
` : ''}
</h1>
<a href="/old/unfollows/followers" style="float: right;font-size: 14px;">${LOC.unfollowers.message}</a>
<a href="/old/unfollows/followers" style="float: right;font-size: 14px;" class="unfollowers-link">${LOC.unfollowers.message}</a>
<div id="follower-filtering-menu" hidden>
<div>
<select id="sort-followers">
Expand Down

0 comments on commit b8c4cb6

Please sign in to comment.