Skip to content

Commit 06c4a76

Browse files
authored
Merge branch 'master' into preview-bug
2 parents bdcd81f + cb4cc83 commit 06c4a76

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/scripts/popup.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,13 @@ document.addEventListener('DOMContentLoaded', function () {
275275
], (items) => {
276276
console.log('Restoring state:', items);
277277

278-
if (items.startingDate && items.endingDate && !items.lastWeekContribution && !items.yesterdayContribution) {
278+
279+
if(items.startingDate && items.endingDate && !items.lastWeekContribution && !items.yesterdayContribution) {
279280
const startDateInput = document.getElementById('startingDate');
280281
const endDateInput = document.getElementById('endingDate');
281282

282-
if (startDateInput && endDateInput) {
283+
if(startDateInput && endDateInput) {
284+
283285
startDateInput.value = items.startingDate;
284286
endDateInput.value = items.endingDate;
285287
startDateInput.readOnly = false;
@@ -661,3 +663,4 @@ function toggleRadio(radio) {
661663
});
662664
});
663665
}
666+

0 commit comments

Comments
 (0)