mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed some html decoding errors and added animation to admin panel, fixes #34
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user