summaryrefslogtreecommitdiff
path: root/_includes/extensions
diff options
context:
space:
mode:
authorJeffrey Tse <jeffreytse.mail@gmail.com>2023-08-26 10:59:07 +0800
committerJeffrey Tse <jeffreytse.mail@gmail.com>2023-08-26 16:25:21 +0800
commitd3397dcfcea3cb07f7c3f0ccac57f466a2977167 (patch)
tree4aa3e47b49e8a4126a1937e628d2a5a53ae3e7a2 /_includes/extensions
parenta117bd5928b6e2f2acb1e86a22fb46651193d425 (diff)
fix: browser errors were logged to the console
Diffstat (limited to '_includes/extensions')
-rw-r--r--_includes/extensions/photo-swipe.html2
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