mirror of
https://github.com/insin/control-panel-for-twitter.git
synced 2025-06-18 22:55:32 -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()
|
observeSearchForm()
|
||||||
}
|
}
|
||||||
// Process blue checks in the sidebar user box
|
// Process blue checks in the sidebar user box
|
||||||
if (!config.hideSidebarContent) {
|
if (!config.hideSidebarContent || config.showRelevantPeople && isOnIndividualTweetPage()) {
|
||||||
void async function() {
|
void async function() {
|
||||||
// Avoid false positive from Premium upsells in the sidebar
|
// Avoid false positive from Premium upsells in the sidebar
|
||||||
let $aside = await getElement('aside[role="complementary"]:not(:has(a[href^="/i/premium"]))', {
|
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',
|
name:'sidebar container',
|
||||||
observers: pageObservers,
|
observers: pageObservers,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user