Skip to content

Commit

Permalink
fix: fmt js files
Browse files Browse the repository at this point in the history
  • Loading branch information
jrson83 committed Jul 15, 2024
1 parent 8a7caf1 commit 897caeb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/scripts/critical.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use strict'

const e = document.documentElement
const currentMode =
globalThis.matchMedia('(prefers-color-scheme: dark)').matches
Expand Down
1 change: 1 addition & 0 deletions src/scripts/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use strict'

document.getElementById('theme-toggle').addEventListener('click', () => {
const nextTheme = (getComputedStyle(e).getPropertyValue('color-scheme') ===
'light')
Expand Down
2 changes: 0 additions & 2 deletions src/scripts/search.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict'

// This script is not 100% optimized yet

document.addEventListener('DOMContentLoaded', () => {
let posts = undefined

Expand Down

0 comments on commit 897caeb

Please sign in to comment.