add missing )

This commit is contained in:
Nicholas Jitkoff 2022-06-20 08:26:39 -07:00
parent b5db99884a
commit e2ec6a3351

View file

@ -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('/') + "/";