Fixed some html decoding errors and added animation to admin panel, fixes #34

This commit is contained in:
Nicolas A. Tonne
2014-10-24 15:41:14 +02:00
parent 21d7684346
commit 889c09c389
4 changed files with 7 additions and 8 deletions

View File

@@ -273,7 +273,7 @@ function getTitle()
success: function(data) {
viewers = $.parseJSON(data);
var outPutWord = viewers[5].length > 1 ? "viewers" : "viewer";
var title= viewers[4].replace(/\\\'/g, "'").replace(/"/g,"'");
var title= viewers[4].replace(/\\\'/g, "'").replace(/"/g,"'").replace(/&/g,"&");
document.title = title + " • Zöff";
document.getElementsByName('v')[0].placeholder = title + " • " + viewers[5].length + " " + outPutWord;
}