Update classic.html

This commit is contained in:
qkqpttgf 2020-06-23 16:06:44 +08:00 committed by GitHub
parent 7a7342201f
commit d5ea792034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -476,7 +476,10 @@
function changelanguage(str)
{
if (str=='Language') str = '';
document.cookie='language='+str+'; path=/';
var expd = new Date();
expd.setTime(expd.getTime()+(2*60*60*1000));
var expires = "expires="+expd.toGMTString();
document.cookie='language='+str+'; path=/; '+expires;
location.href = location.href;
}
<!--ListStart-->