summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-03-30 15:53:19 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2014-03-30 15:53:19 -0400
commit838640ae9dc3da3f143e1413d23256d66e6975ec (patch)
treef2fa8e73470bf801e901be1cccbac4d07bfd412b /www
parentce0aa24956f4c45f23d49f43f740c386734cb45b (diff)
downloadhtml5ks-838640ae9dc3da3f143e1413d23256d66e6975ec.tar.xz
html5ks-838640ae9dc3da3f143e1413d23256d66e6975ec.zip
fix warned.html
Diffstat (limited to 'www')
-rw-r--r--www/warned.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/warned.html b/www/warned.html
index e3daf67..3cc0a91 100644
--- a/www/warned.html
+++ b/www/warned.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html><head><script>
document.cookie = "warned=1; Expires=Tue, 19 Jan 2038 00:00:00 GMT; HttpOnly";
-var l = /language=[^&]*/.exec(location.search).replace(/[ \t]/g, '').split(",");
+var l = /language=[^&]*/.exec(location.search)[0].replace(/[ \t]/g, '').split(",");
loop: for (var i = 0; i < l.length; i++) {
switch (l[i].split(';')[0]) {
case "en": var lang = "en"; break loop;