This commit is contained in:
Eloy Lafuente (stronk7) 2019-07-01 18:52:06 +02:00
commit 6e990b0c6b

View file

@ -62,7 +62,7 @@ function loadContent(datafile, callback) {
} }
newscript.type = 'text/javascript'; newscript.type = 'text/javascript';
newscript.src = data; newscript.src = encodeURIComponent(data);
newscript.charset = 'utf-8'; newscript.charset = 'utf-8';
document.getElementsByTagName("head")[0].appendChild(newscript); document.getElementsByTagName("head")[0].appendChild(newscript);
@ -135,4 +135,4 @@ window.$(document).ready(function() {
e.stopPropagation(); e.stopPropagation();
handleClick(window.$(this)); handleClick(window.$(this));
}); });
}); });