Skip to content

Commit

Permalink
Uplift of #21166 (squashed) to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
brave-builds committed Dec 1, 2023
1 parent e0c8a03 commit 95035c5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions browser/resources/settings/brave_overrides/appearance_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,17 @@ RegisterPolymerTemplateModifications({
tabsToLinks.remove()
}
// </if>

// Remove show images on tab hover toggle as we already have a settings for
// this in the Tabs settings.
const hoverCardImagesTemplate = templateContent.querySelector(
'template[is=dom-if][if="[[showHoverCardImagesOption_]]"]')
if (!hoverCardImagesTemplate) {
console.error(
'[Brave Settings Overrides] Appearance Page cannot find hover card' +
' images template')
} else {
hoverCardImagesTemplate.remove()
}
},
})

0 comments on commit 95035c5

Please sign in to comment.