fix url title to support ALL the charsets

This commit is contained in:
raphael 2020-03-29 16:56:47 +02:00
parent 16b630a707
commit 707e8eacbb

View File

@ -10,10 +10,9 @@ var accessDenied = false;
// Custom Html Title // Custom Html Title
var title = getQueryVariable("title"); var title = getQueryVariable("title");
if(!title === false){ if(!title === false){
document.title = title; document.title = decodeURIComponent(title);
} }
var url = document.URL.substr(0, document.URL.lastIndexOf('/')); var url = document.URL.substr(0, document.URL.lastIndexOf('/'));
var signaling_socket = null; var signaling_socket = null;
var urlSplit = url.split("/"); var urlSplit = url.split("/");