diff options
author | Jeffrey Tse <jeffreytse.mail@gmail.com> | 2023-08-26 10:59:07 +0800 |
---|---|---|
committer | Jeffrey Tse <jeffreytse.mail@gmail.com> | 2023-08-26 16:25:21 +0800 |
commit | d3397dcfcea3cb07f7c3f0ccac57f466a2977167 (patch) | |
tree | 4aa3e47b49e8a4126a1937e628d2a5a53ae3e7a2 | |
parent | a117bd5928b6e2f2acb1e86a22fb46651193d425 (diff) |
fix: browser errors were logged to the console
-rw-r--r-- | _includes/extensions/photo-swipe.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/extensions/photo-swipe.html b/_includes/extensions/photo-swipe.html index 99ea4f7..9985954 100644 --- a/_includes/extensions/photo-swipe.html +++ b/_includes/extensions/photo-swipe.html @@ -20,7 +20,7 @@ const data = `{{ site.photo_previewer }}`.replaceAll("=>", ":"); customOptions = JSON.parse(data); } catch (e) { - console.error("Invalid custom photo previewer options! " + e.message); + console.info("Invalid custom photo previewer options! " + e.message); } // Define object and gallery options |