diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-30 15:53:19 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-30 15:53:19 -0400 |
commit | 838640ae9dc3da3f143e1413d23256d66e6975ec (patch) | |
tree | f2fa8e73470bf801e901be1cccbac4d07bfd412b | |
parent | ce0aa24956f4c45f23d49f43f740c386734cb45b (diff) | |
download | html5ks-838640ae9dc3da3f143e1413d23256d66e6975ec.tar.xz html5ks-838640ae9dc3da3f143e1413d23256d66e6975ec.zip |
fix warned.html
-rw-r--r-- | www/warned.html | 2 |
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; |