Kaynağa Gözat

Ability to select a given theme from the markdown

master
David Larlet 3 yıl önce
ebeveyn
işleme
1c85730e15
100 değiştirilmiş dosya ile 594 ekleme ve 0 silme
  1. 6
    0
      david/2021/01/01/index.html
  2. 6
    0
      david/2021/01/02/index.html
  3. 6
    0
      david/2021/01/03/index.html
  4. 6
    0
      david/2021/01/04/index.html
  5. 6
    0
      david/2021/01/05/index.html
  6. 6
    0
      david/2021/01/06/index.html
  7. 6
    0
      david/2021/01/07/index.html
  8. 6
    0
      david/2021/01/08/index.html
  9. 6
    0
      david/2021/01/09/index.html
  10. 6
    0
      david/2021/01/10/index.html
  11. 6
    0
      david/2021/01/11/index.html
  12. 6
    0
      david/2021/01/13/index.html
  13. 6
    0
      david/2021/01/14/index.html
  14. 6
    0
      david/2021/01/15/index.html
  15. 6
    0
      david/2021/01/16/index.html
  16. 6
    0
      david/2021/01/17/index.html
  17. 6
    0
      david/2021/01/18/index.html
  18. 6
    0
      david/2021/01/19/index.html
  19. 6
    0
      david/2021/01/20/index.html
  20. 6
    0
      david/2021/01/21/index.html
  21. 6
    0
      david/2021/01/22/index.html
  22. 6
    0
      david/2021/01/23/index.html
  23. 6
    0
      david/2021/01/24/index.html
  24. 6
    0
      david/2021/01/25/index.html
  25. 6
    0
      david/2021/01/26/index.html
  26. 6
    0
      david/2021/01/27/index.html
  27. 6
    0
      david/2021/01/29/index.html
  28. 6
    0
      david/2021/01/30/index.html
  29. 6
    0
      david/2021/01/31/index.html
  30. 6
    0
      david/2021/02/01/index.html
  31. 6
    0
      david/2021/02/02/index.html
  32. 6
    0
      david/2021/02/03/index.html
  33. 6
    0
      david/2021/02/04/index.html
  34. 6
    0
      david/2021/02/05/index.html
  35. 6
    0
      david/2021/02/06/index.html
  36. 6
    0
      david/2021/02/07/index.html
  37. 6
    0
      david/2021/02/08/index.html
  38. 6
    0
      david/2021/02/09/index.html
  39. 6
    0
      david/2021/02/10/index.html
  40. 6
    0
      david/2021/02/11/index.html
  41. 6
    0
      david/2021/02/12/index.html
  42. 6
    0
      david/2021/02/14/index.html
  43. 6
    0
      david/2021/02/15/index.html
  44. 6
    0
      david/2021/02/16/index.html
  45. 6
    0
      david/2021/02/18/index.html
  46. 6
    0
      david/2021/02/19/index.html
  47. 6
    0
      david/2021/02/20/index.html
  48. 6
    0
      david/2021/02/21/index.html
  49. 6
    0
      david/2021/02/22/index.html
  50. 6
    0
      david/2021/02/23/index.html
  51. 6
    0
      david/2021/02/24/index.html
  52. 6
    0
      david/2021/02/25/index.html
  53. 6
    0
      david/2021/02/26/index.html
  54. 6
    0
      david/2021/02/27/index.html
  55. 6
    0
      david/2021/02/28/index.html
  56. 6
    0
      david/2021/03/01/index.html
  57. 6
    0
      david/2021/03/02/index.html
  58. 6
    0
      david/2021/03/03/index.html
  59. 6
    0
      david/2021/03/04/index.html
  60. 6
    0
      david/2021/03/05/index.html
  61. 6
    0
      david/2021/03/06/index.html
  62. 6
    0
      david/2021/03/07/index.html
  63. 6
    0
      david/2021/03/08/index.html
  64. 6
    0
      david/2021/03/09/index.html
  65. 6
    0
      david/2021/03/11/index.html
  66. 6
    0
      david/2021/03/12/index.html
  67. 6
    0
      david/2021/03/13/index.html
  68. 6
    0
      david/2021/03/14/index.html
  69. 6
    0
      david/2021/03/15/index.html
  70. 6
    0
      david/2021/03/16/index.html
  71. 6
    0
      david/2021/03/17/index.html
  72. 6
    0
      david/2021/03/18/index.html
  73. 6
    0
      david/2021/03/19/index.html
  74. 6
    0
      david/2021/03/20/index.html
  75. 6
    0
      david/2021/03/21/index.html
  76. 6
    0
      david/2021/03/22/index.html
  77. 6
    0
      david/2021/03/23/index.html
  78. 6
    0
      david/2021/03/24/index.html
  79. 6
    0
      david/2021/03/25/index.html
  80. 6
    0
      david/2021/03/26/index.html
  81. 6
    0
      david/2021/03/27/index.html
  82. 6
    0
      david/2021/03/28/index.html
  83. 6
    0
      david/2021/03/29/index.html
  84. 6
    0
      david/2021/03/30/index.html
  85. 6
    0
      david/2021/03/31/index.html
  86. 6
    0
      david/2021/04/03/index.html
  87. 6
    0
      david/2021/04/04/index.html
  88. 6
    0
      david/2021/04/05/index.html
  89. 6
    0
      david/2021/04/06/index.html
  90. 6
    0
      david/2021/04/08/index.html
  91. 6
    0
      david/2021/04/09/index.html
  92. 6
    0
      david/2021/04/10/index.html
  93. 6
    0
      david/2021/04/11/index.html
  94. 6
    0
      david/2021/04/12/index.html
  95. 6
    0
      david/2021/04/13/index.html
  96. 6
    0
      david/2021/04/14/index.html
  97. 6
    0
      david/2021/04/15/index.html
  98. 6
    0
      david/2021/04/16/index.html
  99. 6
    0
      david/2021/04/17/index.html
  100. 0
    0
      david/2021/04/18/index.html

+ 6
- 0
david/2021/01/01/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/01/02/index.html Dosyayı Görüntüle

@@ -146,6 +146,12 @@
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)
}
}


+ 6
- 0
david/2021/01/03/index.html Dosyayı Görüntüle

@@ -157,6 +157,12 @@
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)
}
}


+ 6
- 0
david/2021/01/04/index.html Dosyayı Görüntüle

@@ -159,6 +159,12 @@
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)
}
}


+ 6
- 0
david/2021/01/05/index.html Dosyayı Görüntüle

@@ -147,6 +147,12 @@
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)
}
}


+ 6
- 0
david/2021/01/06/index.html Dosyayı Görüntüle

@@ -149,6 +149,12 @@
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)
}
}


+ 6
- 0
david/2021/01/07/index.html Dosyayı Görüntüle

@@ -147,6 +147,12 @@
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)
}
}


+ 6
- 0
david/2021/01/08/index.html Dosyayı Görüntüle

@@ -158,6 +158,12 @@ 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)
}
}


+ 6
- 0
david/2021/01/09/index.html Dosyayı Görüntüle

@@ -149,6 +149,12 @@
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)
}
}


+ 6
- 0
david/2021/01/10/index.html Dosyayı Görüntüle

@@ -160,6 +160,12 @@
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)
}
}


+ 6
- 0
david/2021/01/11/index.html Dosyayı Görüntüle

@@ -147,6 +147,12 @@
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)
}
}


+ 6
- 0
david/2021/01/13/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/01/14/index.html Dosyayı Görüntüle

@@ -151,6 +151,12 @@
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)
}
}


+ 6
- 0
david/2021/01/15/index.html Dosyayı Görüntüle

@@ -146,6 +146,12 @@
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)
}
}


+ 6
- 0
david/2021/01/16/index.html Dosyayı Görüntüle

@@ -145,6 +145,12 @@
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)
}
}


+ 6
- 0
david/2021/01/17/index.html Dosyayı Görüntüle

@@ -146,6 +146,12 @@
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)
}
}


+ 6
- 0
david/2021/01/18/index.html Dosyayı Görüntüle

@@ -141,6 +141,12 @@
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)
}
}


+ 6
- 0
david/2021/01/19/index.html Dosyayı Görüntüle

@@ -147,6 +147,12 @@
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)
}
}


+ 6
- 0
david/2021/01/20/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/01/21/index.html Dosyayı Görüntüle

@@ -142,6 +142,12 @@
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)
}
}


+ 6
- 0
david/2021/01/22/index.html Dosyayı Görüntüle

@@ -140,6 +140,12 @@ 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)
}
}


+ 6
- 0
david/2021/01/23/index.html Dosyayı Görüntüle

@@ -146,6 +146,12 @@
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)
}
}


+ 6
- 0
david/2021/01/24/index.html Dosyayı Görüntüle

@@ -149,6 +149,12 @@
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)
}
}


+ 6
- 0
david/2021/01/25/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/01/26/index.html Dosyayı Görüntüle

@@ -144,6 +144,12 @@
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)
}
}


+ 6
- 0
david/2021/01/27/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/01/29/index.html Dosyayı Görüntüle

@@ -142,6 +142,12 @@
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)
}
}


+ 6
- 0
david/2021/01/30/index.html Dosyayı Görüntüle

@@ -152,6 +152,12 @@
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)
}
}


+ 6
- 0
david/2021/01/31/index.html Dosyayı Görüntüle

@@ -144,6 +144,12 @@
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)
}
}


+ 6
- 0
david/2021/02/01/index.html Dosyayı Görüntüle

@@ -154,6 +154,12 @@
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)
}
}


+ 6
- 0
david/2021/02/02/index.html Dosyayı Görüntüle

@@ -146,6 +146,12 @@
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)
}
}


+ 6
- 0
david/2021/02/03/index.html Dosyayı Görüntüle

@@ -159,6 +159,12 @@
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)
}
}


+ 6
- 0
david/2021/02/04/index.html Dosyayı Görüntüle

@@ -141,6 +141,12 @@
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)
}
}


+ 6
- 0
david/2021/02/05/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/02/06/index.html Dosyayı Görüntüle

@@ -147,6 +147,12 @@
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)
}
}


+ 6
- 0
david/2021/02/07/index.html Dosyayı Görüntüle

@@ -140,6 +140,12 @@
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)
}
}


+ 6
- 0
david/2021/02/08/index.html Dosyayı Görüntüle

@@ -151,6 +151,12 @@
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)
}
}


+ 6
- 0
david/2021/02/09/index.html Dosyayı Görüntüle

@@ -150,6 +150,12 @@
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)
}
}


+ 6
- 0
david/2021/02/10/index.html Dosyayı Görüntüle

@@ -153,6 +153,12 @@
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)
}
}


+ 6
- 0
david/2021/02/11/index.html Dosyayı Görüntüle

@@ -142,6 +142,12 @@
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)
}
}


+ 6
- 0
david/2021/02/12/index.html Dosyayı Görüntüle

@@ -147,6 +147,12 @@
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)
}
}


+ 6
- 0
david/2021/02/14/index.html Dosyayı Görüntüle

@@ -150,6 +150,12 @@
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)
}
}


+ 6
- 0
david/2021/02/15/index.html Dosyayı Görüntüle

@@ -138,6 +138,12 @@
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)
}
}


+ 6
- 0
david/2021/02/16/index.html Dosyayı Görüntüle

@@ -153,6 +153,12 @@
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)
}
}


+ 6
- 0
david/2021/02/18/index.html Dosyayı Görüntüle

@@ -141,6 +141,12 @@
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)
}
}


+ 6
- 0
david/2021/02/19/index.html Dosyayı Görüntüle

@@ -151,6 +151,12 @@
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)
}
}


+ 6
- 0
david/2021/02/20/index.html Dosyayı Görüntüle

@@ -141,6 +141,12 @@
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)
}
}


+ 6
- 0
david/2021/02/21/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/02/22/index.html Dosyayı Görüntüle

@@ -143,6 +143,12 @@
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)
}
}


+ 6
- 0
david/2021/02/23/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/02/24/index.html Dosyayı Görüntüle

@@ -136,6 +136,12 @@
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)
}
}


+ 6
- 0
david/2021/02/25/index.html Dosyayı Görüntüle

@@ -147,6 +147,12 @@
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)
}
}


+ 6
- 0
david/2021/02/26/index.html Dosyayı Görüntüle

@@ -141,6 +141,12 @@
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)
}
}


+ 6
- 0
david/2021/02/27/index.html Dosyayı Görüntüle

@@ -150,6 +150,12 @@ 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)
}
}


+ 6
- 0
david/2021/02/28/index.html Dosyayı Görüntüle

@@ -140,6 +140,12 @@
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)
}
}


+ 6
- 0
david/2021/03/01/index.html Dosyayı Görüntüle

@@ -143,6 +143,12 @@
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)
}
}


+ 6
- 0
david/2021/03/02/index.html Dosyayı Görüntüle

@@ -146,6 +146,12 @@
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)
}
}


+ 6
- 0
david/2021/03/03/index.html Dosyayı Görüntüle

@@ -142,6 +142,12 @@
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)
}
}


+ 6
- 0
david/2021/03/04/index.html Dosyayı Görüntüle

@@ -143,6 +143,12 @@
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)
}
}


+ 6
- 0
david/2021/03/05/index.html Dosyayı Görüntüle

@@ -143,6 +143,12 @@
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)
}
}


+ 6
- 0
david/2021/03/06/index.html Dosyayı Görüntüle

@@ -141,6 +141,12 @@
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)
}
}


+ 6
- 0
david/2021/03/07/index.html Dosyayı Görüntüle

@@ -144,6 +144,12 @@
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)
}
}


+ 6
- 0
david/2021/03/08/index.html Dosyayı Görüntüle

@@ -145,6 +145,12 @@
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)
}
}


+ 6
- 0
david/2021/03/09/index.html Dosyayı Görüntüle

@@ -144,6 +144,12 @@
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)
}
}


+ 6
- 0
david/2021/03/11/index.html Dosyayı Görüntüle

@@ -141,6 +141,12 @@
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)
}
}


+ 6
- 0
david/2021/03/12/index.html Dosyayı Görüntüle

@@ -147,6 +147,12 @@
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)
}
}


+ 6
- 0
david/2021/03/13/index.html Dosyayı Görüntüle

@@ -144,6 +144,12 @@
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)
}
}


+ 6
- 0
david/2021/03/14/index.html Dosyayı Görüntüle

@@ -136,6 +136,12 @@
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)
}
}


+ 6
- 0
david/2021/03/15/index.html Dosyayı Görüntüle

@@ -141,6 +141,12 @@
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)
}
}


+ 6
- 0
david/2021/03/16/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/03/17/index.html Dosyayı Görüntüle

@@ -150,6 +150,12 @@
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)
}
}


+ 6
- 0
david/2021/03/18/index.html Dosyayı Görüntüle

@@ -145,6 +145,12 @@
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)
}
}


+ 6
- 0
david/2021/03/19/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/03/20/index.html Dosyayı Görüntüle

@@ -151,6 +151,12 @@
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)
}
}


+ 6
- 0
david/2021/03/21/index.html Dosyayı Görüntüle

@@ -143,6 +143,12 @@
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)
}
}


+ 6
- 0
david/2021/03/22/index.html Dosyayı Görüntüle

@@ -142,6 +142,12 @@ 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)
}
}


+ 6
- 0
david/2021/03/23/index.html Dosyayı Görüntüle

@@ -159,6 +159,12 @@
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)
}
}


+ 6
- 0
david/2021/03/24/index.html Dosyayı Görüntüle

@@ -142,6 +142,12 @@
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)
}
}


+ 6
- 0
david/2021/03/25/index.html Dosyayı Görüntüle

@@ -147,6 +147,12 @@
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)
}
}


+ 6
- 0
david/2021/03/26/index.html Dosyayı Görüntüle

@@ -140,6 +140,12 @@
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)
}
}


+ 6
- 0
david/2021/03/27/index.html Dosyayı Görüntüle

@@ -139,6 +139,12 @@
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)
}
}


+ 6
- 0
david/2021/03/28/index.html Dosyayı Görüntüle

@@ -159,6 +159,12 @@
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)
}
}


+ 6
- 0
david/2021/03/29/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/03/30/index.html Dosyayı Görüntüle

@@ -183,6 +183,12 @@
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)
}
}


+ 6
- 0
david/2021/03/31/index.html Dosyayı Görüntüle

@@ -143,6 +143,12 @@
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)
}
}


+ 6
- 0
david/2021/04/03/index.html Dosyayı Görüntüle

@@ -147,6 +147,12 @@
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)
}
}


+ 6
- 0
david/2021/04/04/index.html Dosyayı Görüntüle

@@ -142,6 +142,12 @@
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)
}
}


+ 6
- 0
david/2021/04/05/index.html Dosyayı Görüntüle

@@ -144,6 +144,12 @@
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)
}
}


+ 6
- 0
david/2021/04/06/index.html Dosyayı Görüntüle

@@ -143,6 +143,12 @@
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)
}
}


+ 6
- 0
david/2021/04/08/index.html Dosyayı Görüntüle

@@ -141,6 +141,12 @@
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)
}
}


+ 6
- 0
david/2021/04/09/index.html Dosyayı Görüntüle

@@ -151,6 +151,12 @@
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)
}
}


+ 6
- 0
david/2021/04/10/index.html Dosyayı Görüntüle

@@ -140,6 +140,12 @@
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)
}
}


+ 6
- 0
david/2021/04/11/index.html Dosyayı Görüntüle

@@ -143,6 +143,12 @@
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)
}
}


+ 6
- 0
david/2021/04/12/index.html Dosyayı Görüntüle

@@ -143,6 +143,12 @@
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)
}
}


+ 6
- 0
david/2021/04/13/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/04/14/index.html Dosyayı Görüntüle

@@ -146,6 +146,12 @@
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)
}
}


+ 6
- 0
david/2021/04/15/index.html Dosyayı Görüntüle

@@ -148,6 +148,12 @@
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)
}
}


+ 6
- 0
david/2021/04/16/index.html Dosyayı Görüntüle

@@ -144,6 +144,12 @@
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)
}
}


+ 6
- 0
david/2021/04/17/index.html Dosyayı Görüntüle

@@ -145,6 +145,12 @@
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 Dosyayı Görüntüle


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor

Loading…
İptal
Kaydet