Skip to content
This repository has been archived by the owner on Dec 3, 2020. It is now read-only.

Commit

Permalink
Final tweaks on page titles and notice logic
Browse files Browse the repository at this point in the history
  • Loading branch information
biancadanforth committed Aug 23, 2019
1 parent 1a42c2c commit e828213
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/background/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ import {registerEvents, handleWidgetRemoved} from 'commerce/telemetry/extension'
if (initialNoticeDate === undefined) {
initialNoticeDate = currentDate;
await browser.storage.local.set({initialNoticeDate});
}
if (currentDate - initialNoticeDate > initialNoticeDuration) {
} else if (currentDate - initialNoticeDate > initialNoticeDuration) {
const finalNoticeDuration = await config.get('finalNoticeDuration');
let {finalNoticeDate} = await browser.storage.local.get('finalNoticeDate');
if (finalNoticeDate === undefined) {
Expand Down
2 changes: 1 addition & 1 deletion src/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Firefox Price Tracker privacy notice</title>
<title>Firefox Price Tracker Privacy Notice</title>
<style>
:root {
--blue-50: #0a84ff;
Expand Down
2 changes: 1 addition & 1 deletion src/retirement.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<link href="/styles/retirement.css" rel="stylesheet">
<title>Firefox Price Tracker retirement notice</title>
<title>Firefox Price Tracker Retirement Notice</title>
</head>
<body>
<div class="stars"></div>
Expand Down

0 comments on commit e828213

Please sign in to comment.