From b7c305e0024ca78c1d9f9d7a5107ffc124c56ab1 Mon Sep 17 00:00:00 2001
From: Mike Walton <walton.myke@gmail.com>
Date: Thu, 23 Mar 2023 05:56:20 +0000
Subject: [PATCH] adding myself to the showcase (#301)

---
 assets/js/darkmode.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/assets/js/darkmode.js b/assets/js/darkmode.js
index 11ce15f..8168d77 100644
--- a/assets/js/darkmode.js
+++ b/assets/js/darkmode.js
@@ -8,7 +8,7 @@
 
 if (currentTheme) {
   document.documentElement.setAttribute('saved-theme', currentTheme);
-  (currentTheme === 'dark') ? syntaxTheme.href = '{{ $darkSyntax.Permalink }}' : syntaxTheme.href = '{{ $lightSyntax.Permalink }}';
+  syntaxTheme.href = currentTheme === 'dark' ?  '{{ $darkSyntax.Permalink }}' :  '{{ $lightSyntax.Permalink }}';
 }
 
 const switchTheme = (e) => {

--
Gitblit v1.10.0