From 42dc0fed22ca6e71211210841375d52f9658818a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=B8=9E=E0=B8=87=E0=B8=A8=E0=B9=8C=E0=B8=9B=E0=B8=93?= =?UTF-8?q?=E0=B8=95=20=E0=B8=97=E0=B8=B1=E0=B8=A8=E0=B8=99=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=B2=E0=B8=8A=E0=B8=B8=E0=B8=A1=E0=B8=9E=E0=B8=B2?= =?UTF-8?q?=E0=B8=A5=E0=B8=B5?= Date: Mon, 2 Apr 2018 14:51:50 +0700 Subject: [PATCH] nav --- aqa-navbar.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aqa-navbar.html b/aqa-navbar.html index c790093..a3c7c1f 100644 --- a/aqa-navbar.html +++ b/aqa-navbar.html @@ -107,7 +107,10 @@ if (obj.hasOwnProperty(p)) { str.push(encodeURIComponent(p) + "=" + encodeURIComponent(obj[p])); } - this.queryString = '?' + str.join("&"); + if (this.queryString != "") { + this.queryString = '?' + str.join("&"); + } + } }