Skip to content

Commit

Permalink
Bug 1838478 - Remove topics from STP r=thecount
Browse files Browse the repository at this point in the history
  • Loading branch information
gvn committed Jul 5, 2023
1 parent 4e3d9cb commit 69105a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 44 deletions.
12 changes: 0 additions & 12 deletions browser/components/pocket/content/panels/js/home/overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,6 @@ HomeOverlay.prototype = {
utmSource={utmSource}
utmCampaign={utmCampaign}
utmContent={utmContent}
topics={[
{ title: "Technology", topic: "technology" },
{ title: "Self Improvement", topic: "self-improvement" },
{ title: "Food", topic: "food" },
{ title: "Parenting", topic: "parenting" },
{ title: "Science", topic: "science" },
{ title: "Entertainment", topic: "entertainment" },
{ title: "Career", topic: "career" },
{ title: "Health", topic: "health" },
{ title: "Travel", topic: "travel" },
{ title: "Must-Reads", topic: "must-reads" },
]}
/>,
document.querySelector(`body`)
);
Expand Down
33 changes: 1 addition & 32 deletions browser/components/pocket/content/panels/js/main.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,38 +429,7 @@ HomeOverlay.prototype = {
pockethost: pockethost,
utmSource: utmSource,
utmCampaign: utmCampaign,
utmContent: utmContent,
topics: [{
title: "Technology",
topic: "technology"
}, {
title: "Self Improvement",
topic: "self-improvement"
}, {
title: "Food",
topic: "food"
}, {
title: "Parenting",
topic: "parenting"
}, {
title: "Science",
topic: "science"
}, {
title: "Entertainment",
topic: "entertainment"
}, {
title: "Career",
topic: "career"
}, {
title: "Health",
topic: "health"
}, {
title: "Travel",
topic: "travel"
}, {
title: "Must-Reads",
topic: "must-reads"
}]
utmContent: utmContent
}), document.querySelector(`body`));

if (window?.matchMedia(`(prefers-color-scheme: dark)`).matches) {
Expand Down

0 comments on commit 69105a8

Please sign in to comment.