Skip to content

Commit 1d5f638

Browse files
removed un-necessary background.js
1 parent f40199f commit 1d5f638

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/scripts/background.js

Whitespace-only changes.

src/scripts/popup.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,6 @@ function getYesterday() {
4343
}
4444

4545
document.addEventListener('DOMContentLoaded', function() {
46-
// Firefox date input fix
47-
if (isFirefox) {
48-
document.querySelectorAll('input[type="date"]').forEach(input => {
49-
if (!input.value) {
50-
input.type = 'text';
51-
input.placeholder = 'YYYY-MM-DD';
52-
}
53-
input.addEventListener('blur', () => {
54-
if (input.value) input.type = 'date';
55-
});
56-
});
57-
}
5846

5947
// Dark mode setup
6048
const darkModeToggle = document.querySelector('img[alt="Night Mode"]');

0 commit comments

Comments
 (0)