mirror of
https://github.com/insin/control-panel-for-twitter.git
synced 2025-06-18 14:45:31 -04:00
- Fixed processing blue checks in the Relevant people box when hiding all other sidebar content
This commit is contained in:
parent
99a9af186b
commit
f686b671de
@ -3020,7 +3020,7 @@ async function observeSidebar() {
|
||||
observeSearchForm()
|
||||
}
|
||||
// Process blue checks in the sidebar user box
|
||||
if (!config.hideSidebarContent) {
|
||||
if (!config.hideSidebarContent || config.showRelevantPeople && isOnIndividualTweetPage()) {
|
||||
void async function() {
|
||||
// Avoid false positive from Premium upsells in the sidebar
|
||||
let $aside = await getElement('aside[role="complementary"]:not(:has(a[href^="/i/premium"]))', {
|
||||
@ -3118,6 +3118,7 @@ async function observeSidebar() {
|
||||
}()
|
||||
}
|
||||
}, {
|
||||
leading: true,
|
||||
name:'sidebar container',
|
||||
observers: pageObservers,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user