From d3397dcfcea3cb07f7c3f0ccac57f466a2977167 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Sat, 26 Aug 2023 10:59:07 +0800 Subject: fix: browser errors were logged to the console --- _includes/extensions/photo-swipe.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_includes/extensions') 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 -- cgit v1.2.3