mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Fix #749: remove 'new features' from private window new tab page
This commit is contained in:
parent
92a0dbbc2a
commit
05ca6fc68e
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ function getChangelogDiv() {
|
|||
function updateChangelogStatus() {
|
||||
const changelogDiv = getChangelogDiv()
|
||||
const changelogContent = changelogDiv.textContent
|
||||
if (localStorage.changelogContent === changelogContent) {
|
||||
if (browser.extension.inIncognitoContext || (localStorage.changelogContent === changelogContent)) {
|
||||
const changelogButton = document.querySelector('input[id^="spoiler"]')
|
||||
if (!changelogButton) {
|
||||
console.error("Couldn't find changelog button!")
|
||||
|
|
Loading…
Add table
Reference in a new issue