From 707e8eacbbb51fa1429d3dc7cc38771daf0d8a17 Mon Sep 17 00:00:00 2001 From: raphael Date: Sun, 29 Mar 2020 16:56:47 +0200 Subject: [PATCH] fix url title to support ALL the charsets --- public/js/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index d88c0aa..da78506 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -10,10 +10,9 @@ var accessDenied = false; // Custom Html Title var title = getQueryVariable("title"); if(!title === false){ - document.title = title; + document.title = decodeURIComponent(title); } - var url = document.URL.substr(0, document.URL.lastIndexOf('/')); var signaling_socket = null; var urlSplit = url.split("/");