mirror of
https://github.com/arfct/itty-bitty.git
synced 2026-03-11 08:54:33 +00:00
add missing )
This commit is contained in:
parent
b5db99884a
commit
e2ec6a3351
1 changed files with 1 additions and 1 deletions
|
|
@ -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('/') + "/";
|
||||
|
|
|
|||
Loading…
Reference in a new issue