From bfca5a0ca2e2b55630d441a69439d6f64c39a526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Mon, 28 Oct 2019 21:35:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=97=A5=E6=9C=8D=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B8=8D=E9=9C=80=E8=A6=81url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index eb9da3f5..3b1b10d1 100644 --- a/script.js +++ b/script.js @@ -251,7 +251,7 @@ function creatNewUrl(arg){ let outObj = formation.outObj(); history.pushState(null, null, '?' + (language_i18n?'l=' + language_i18n + '&':'') - + (datasource?'s=' + datasource + '&':'') + + (datasource&&datasource!="ja"?'s=' + datasource + '&':'') + 'd=' + encodeURIComponent(JSON.stringify(outObj))); } }