ソースを参照

Reverting 1c85730e15

Thanks to Anthhony, I now have a better option 🙇

Using `<script>toggleTheme('dark')</script>` directly from the markdown given it's already availale from the head declaration. As a bonus, we don't mess with user's preferences for other pages.
master
David Larlet 3年前
コミット
27da7cf951
100個のファイルの変更0行の追加594行の削除
  1. 0
    6
      david/2021/01/01/index.html
  2. 0
    6
      david/2021/01/02/index.html
  3. 0
    6
      david/2021/01/03/index.html
  4. 0
    6
      david/2021/01/04/index.html
  5. 0
    6
      david/2021/01/05/index.html
  6. 0
    6
      david/2021/01/06/index.html
  7. 0
    6
      david/2021/01/07/index.html
  8. 0
    6
      david/2021/01/08/index.html
  9. 0
    6
      david/2021/01/09/index.html
  10. 0
    6
      david/2021/01/10/index.html
  11. 0
    6
      david/2021/01/11/index.html
  12. 0
    6
      david/2021/01/13/index.html
  13. 0
    6
      david/2021/01/14/index.html
  14. 0
    6
      david/2021/01/15/index.html
  15. 0
    6
      david/2021/01/16/index.html
  16. 0
    6
      david/2021/01/17/index.html
  17. 0
    6
      david/2021/01/18/index.html
  18. 0
    6
      david/2021/01/19/index.html
  19. 0
    6
      david/2021/01/20/index.html
  20. 0
    6
      david/2021/01/21/index.html
  21. 0
    6
      david/2021/01/22/index.html
  22. 0
    6
      david/2021/01/23/index.html
  23. 0
    6
      david/2021/01/24/index.html
  24. 0
    6
      david/2021/01/25/index.html
  25. 0
    6
      david/2021/01/26/index.html
  26. 0
    6
      david/2021/01/27/index.html
  27. 0
    6
      david/2021/01/29/index.html
  28. 0
    6
      david/2021/01/30/index.html
  29. 0
    6
      david/2021/01/31/index.html
  30. 0
    6
      david/2021/02/01/index.html
  31. 0
    6
      david/2021/02/02/index.html
  32. 0
    6
      david/2021/02/03/index.html
  33. 0
    6
      david/2021/02/04/index.html
  34. 0
    6
      david/2021/02/05/index.html
  35. 0
    6
      david/2021/02/06/index.html
  36. 0
    6
      david/2021/02/07/index.html
  37. 0
    6
      david/2021/02/08/index.html
  38. 0
    6
      david/2021/02/09/index.html
  39. 0
    6
      david/2021/02/10/index.html
  40. 0
    6
      david/2021/02/11/index.html
  41. 0
    6
      david/2021/02/12/index.html
  42. 0
    6
      david/2021/02/14/index.html
  43. 0
    6
      david/2021/02/15/index.html
  44. 0
    6
      david/2021/02/16/index.html
  45. 0
    6
      david/2021/02/18/index.html
  46. 0
    6
      david/2021/02/19/index.html
  47. 0
    6
      david/2021/02/20/index.html
  48. 0
    6
      david/2021/02/21/index.html
  49. 0
    6
      david/2021/02/22/index.html
  50. 0
    6
      david/2021/02/23/index.html
  51. 0
    6
      david/2021/02/24/index.html
  52. 0
    6
      david/2021/02/25/index.html
  53. 0
    6
      david/2021/02/26/index.html
  54. 0
    6
      david/2021/02/27/index.html
  55. 0
    6
      david/2021/02/28/index.html
  56. 0
    6
      david/2021/03/01/index.html
  57. 0
    6
      david/2021/03/02/index.html
  58. 0
    6
      david/2021/03/03/index.html
  59. 0
    6
      david/2021/03/04/index.html
  60. 0
    6
      david/2021/03/05/index.html
  61. 0
    6
      david/2021/03/06/index.html
  62. 0
    6
      david/2021/03/07/index.html
  63. 0
    6
      david/2021/03/08/index.html
  64. 0
    6
      david/2021/03/09/index.html
  65. 0
    6
      david/2021/03/11/index.html
  66. 0
    6
      david/2021/03/12/index.html
  67. 0
    6
      david/2021/03/13/index.html
  68. 0
    6
      david/2021/03/14/index.html
  69. 0
    6
      david/2021/03/15/index.html
  70. 0
    6
      david/2021/03/16/index.html
  71. 0
    6
      david/2021/03/17/index.html
  72. 0
    6
      david/2021/03/18/index.html
  73. 0
    6
      david/2021/03/19/index.html
  74. 0
    6
      david/2021/03/20/index.html
  75. 0
    6
      david/2021/03/21/index.html
  76. 0
    6
      david/2021/03/22/index.html
  77. 0
    6
      david/2021/03/23/index.html
  78. 0
    6
      david/2021/03/24/index.html
  79. 0
    6
      david/2021/03/25/index.html
  80. 0
    6
      david/2021/03/26/index.html
  81. 0
    6
      david/2021/03/27/index.html
  82. 0
    6
      david/2021/03/28/index.html
  83. 0
    6
      david/2021/03/29/index.html
  84. 0
    6
      david/2021/03/30/index.html
  85. 0
    6
      david/2021/03/31/index.html
  86. 0
    6
      david/2021/04/03/index.html
  87. 0
    6
      david/2021/04/04/index.html
  88. 0
    6
      david/2021/04/05/index.html
  89. 0
    6
      david/2021/04/06/index.html
  90. 0
    6
      david/2021/04/08/index.html
  91. 0
    6
      david/2021/04/09/index.html
  92. 0
    6
      david/2021/04/10/index.html
  93. 0
    6
      david/2021/04/11/index.html
  94. 0
    6
      david/2021/04/12/index.html
  95. 0
    6
      david/2021/04/13/index.html
  96. 0
    6
      david/2021/04/14/index.html
  97. 0
    6
      david/2021/04/15/index.html
  98. 0
    6
      david/2021/04/16/index.html
  99. 0
    6
      david/2021/04/17/index.html
  100. 0
    0
      david/2021/04/18/index.html

+ 0
- 6
david/2021/01/01/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/02/index.html ファイルの表示

@@ -146,12 +146,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/03/index.html ファイルの表示

@@ -157,12 +157,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/04/index.html ファイルの表示

@@ -159,12 +159,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/05/index.html ファイルの表示

@@ -147,12 +147,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/06/index.html ファイルの表示

@@ -149,12 +149,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/07/index.html ファイルの表示

@@ -147,12 +147,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/08/index.html ファイルの表示

@@ -158,12 +158,6 @@ Le bonheur d’avoir dans son assiette le poisson que l’on a pêché, dans sa
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/09/index.html ファイルの表示

@@ -149,12 +149,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/10/index.html ファイルの表示

@@ -160,12 +160,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/11/index.html ファイルの表示

@@ -147,12 +147,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/13/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/14/index.html ファイルの表示

@@ -151,12 +151,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/15/index.html ファイルの表示

@@ -146,12 +146,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/16/index.html ファイルの表示

@@ -145,12 +145,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/17/index.html ファイルの表示

@@ -146,12 +146,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/18/index.html ファイルの表示

@@ -141,12 +141,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/19/index.html ファイルの表示

@@ -147,12 +147,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/20/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/21/index.html ファイルの表示

@@ -142,12 +142,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/22/index.html ファイルの表示

@@ -140,12 +140,6 @@ Nuit agitée.</p>
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/23/index.html ファイルの表示

@@ -146,12 +146,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/24/index.html ファイルの表示

@@ -149,12 +149,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/25/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/26/index.html ファイルの表示

@@ -144,12 +144,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/27/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/29/index.html ファイルの表示

@@ -142,12 +142,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/30/index.html ファイルの表示

@@ -152,12 +152,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/01/31/index.html ファイルの表示

@@ -144,12 +144,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/01/index.html ファイルの表示

@@ -154,12 +154,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/02/index.html ファイルの表示

@@ -146,12 +146,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/03/index.html ファイルの表示

@@ -159,12 +159,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/04/index.html ファイルの表示

@@ -141,12 +141,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/05/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/06/index.html ファイルの表示

@@ -147,12 +147,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/07/index.html ファイルの表示

@@ -140,12 +140,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/08/index.html ファイルの表示

@@ -151,12 +151,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/09/index.html ファイルの表示

@@ -150,12 +150,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/10/index.html ファイルの表示

@@ -153,12 +153,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/11/index.html ファイルの表示

@@ -142,12 +142,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/12/index.html ファイルの表示

@@ -147,12 +147,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/14/index.html ファイルの表示

@@ -150,12 +150,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/15/index.html ファイルの表示

@@ -138,12 +138,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/16/index.html ファイルの表示

@@ -153,12 +153,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/18/index.html ファイルの表示

@@ -141,12 +141,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/19/index.html ファイルの表示

@@ -151,12 +151,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/20/index.html ファイルの表示

@@ -141,12 +141,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/21/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/22/index.html ファイルの表示

@@ -143,12 +143,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/23/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/24/index.html ファイルの表示

@@ -136,12 +136,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/25/index.html ファイルの表示

@@ -147,12 +147,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/26/index.html ファイルの表示

@@ -141,12 +141,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/27/index.html ファイルの表示

@@ -150,12 +150,6 @@ Si nous n’explorons pas cette histoire, qui vit activement en nous comme les p
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/02/28/index.html ファイルの表示

@@ -140,12 +140,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/01/index.html ファイルの表示

@@ -143,12 +143,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/02/index.html ファイルの表示

@@ -146,12 +146,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/03/index.html ファイルの表示

@@ -142,12 +142,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/04/index.html ファイルの表示

@@ -143,12 +143,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/05/index.html ファイルの表示

@@ -143,12 +143,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/06/index.html ファイルの表示

@@ -141,12 +141,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/07/index.html ファイルの表示

@@ -144,12 +144,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/08/index.html ファイルの表示

@@ -145,12 +145,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/09/index.html ファイルの表示

@@ -144,12 +144,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/11/index.html ファイルの表示

@@ -141,12 +141,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/12/index.html ファイルの表示

@@ -147,12 +147,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/13/index.html ファイルの表示

@@ -144,12 +144,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/14/index.html ファイルの表示

@@ -136,12 +136,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/15/index.html ファイルの表示

@@ -141,12 +141,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/16/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/17/index.html ファイルの表示

@@ -150,12 +150,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/18/index.html ファイルの表示

@@ -145,12 +145,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/19/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/20/index.html ファイルの表示

@@ -151,12 +151,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/21/index.html ファイルの表示

@@ -143,12 +143,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/22/index.html ファイルの表示

@@ -142,12 +142,6 @@ The best way to help your IE11&nbsp;users is <mark>to provide a great experience
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/23/index.html ファイルの表示

@@ -159,12 +159,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/24/index.html ファイルの表示

@@ -142,12 +142,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/25/index.html ファイルの表示

@@ -147,12 +147,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/26/index.html ファイルの表示

@@ -140,12 +140,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/27/index.html ファイルの表示

@@ -139,12 +139,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/28/index.html ファイルの表示

@@ -159,12 +159,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/29/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/30/index.html ファイルの表示

@@ -183,12 +183,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/03/31/index.html ファイルの表示

@@ -143,12 +143,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/03/index.html ファイルの表示

@@ -147,12 +147,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/04/index.html ファイルの表示

@@ -142,12 +142,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/05/index.html ファイルの表示

@@ -144,12 +144,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/06/index.html ファイルの表示

@@ -143,12 +143,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/08/index.html ファイルの表示

@@ -141,12 +141,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/09/index.html ファイルの表示

@@ -151,12 +151,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/10/index.html ファイルの表示

@@ -140,12 +140,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/11/index.html ファイルの表示

@@ -143,12 +143,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/12/index.html ファイルの表示

@@ -143,12 +143,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/13/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/14/index.html ファイルの表示

@@ -146,12 +146,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/15/index.html ファイルの表示

@@ -148,12 +148,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/16/index.html ファイルの表示

@@ -144,12 +144,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 6
david/2021/04/17/index.html ファイルの表示

@@ -145,12 +145,6 @@
const selectedTheme = localStorage.getItem('theme')
if (selectedTheme && selectedTheme !== 'undefined') {
form.querySelector(`[value="${selectedTheme}"]`).checked = true
// Also manually dispatch the event in case I want
// to force a default given theme from the article with:
// localStorage.setItem('theme', 'dark')
form.value = selectedTheme
const changeEvent = new Event('change')
form.dispatchEvent(changeEvent)
}
}


+ 0
- 0
david/2021/04/18/index.html ファイルの表示


変更されたファイルが多すぎるため、一部のファイルは表示されません

読み込み中…
キャンセル
保存