From e2ec6a33512b80c5e987dccbe5a49d5f519706be Mon Sep 17 00:00:00 2001 From: Nicholas Jitkoff Date: Mon, 20 Jun 2022 08:26:39 -0700 Subject: [PATCH] add missing ) --- docs/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.js b/docs/index.js index efb43e9..957c25b 100644 --- a/docs/index.js +++ b/docs/index.js @@ -118,7 +118,7 @@ if (e.data.themeColor) setThemeColor(e.data.themeColor); if (e.data.updateURL) { let path = ["/" + e.data.title.replace(/\s/g, "-")]; - if (e.data.description) path.push("d/" + encodeURIComponent(e.data.description.replace(/\s/g, "-")); + if (e.data.description) path.push("d/" + encodeURIComponent(e.data.description.replace(/\s/g, "-"))); if (e.data.favicon) path.push("f/" + encodeURIComponent(e.data.favicon)); if (e.data.image) path.push("i/" + encodeURIComponent(btoa(e.data.image))); window.location.pathname = path.join('/') + "/";