Skip to content

Commit

Permalink
fix: dont hide feed on notifications page
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtalhaasghar committed Aug 7, 2024
1 parent 5c12069 commit b08c884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ async function toggleFeed(shown) {
let attempts = 0
let success = false
let className = 'scaffold-finite-scroll__content' // feed element css class
if (window.location.href == 'https://www.linkedin.com/jobs/'){
// dont hide this element on jobs page. Only hide on home feed instead.
if (window.location.href != 'https://www.linkedin.com/feed/'){
// dont hide this element on notifications & jobs page. Only hide on home feed instead.
return
}
while (!success && attempts < 50) {
Expand Down

0 comments on commit b08c884

Please sign in to comment.