diff --git a/public_html/js/Views.js b/public_html/js/Views.js
index eb261d2..f582e59 100644
--- a/public_html/js/Views.js
+++ b/public_html/js/Views.js
@@ -243,7 +243,7 @@ Views.prototype.pause = function (duration, hard) {
};
Views.prototype.text_1 = function (text) {
- this.textAuthorTag.innerText = "";
+ $(this.textAuthorTag).text("");
if (TextUtils.isEmpty(text)) this.windowHide("");
else {
this.windowShow("");
@@ -256,7 +256,7 @@ Views.prototype.text_2 = function (whoid, text) {
else {
this.windowShow("");
var person = this.characters.get(whoid);
- this.textAuthorTag.innerText = person.name;
+ $(this.textAuthorTag).text(person.name);
this.textAuthorTag.style.color = toColor(person.color);
this.formatString(this.textContentTag, text);
}
@@ -276,7 +276,7 @@ Views.prototype.formatString = function (tag, text) {
}
if (edited.contains("{html}")) {
edited = edited.replaceAll("\\{html\\}", "");
- tag.innerHTML = edited;
+ $(tag).html(edited);
return;
}
var codes = ["b","i","s","u","big","small"];
@@ -291,9 +291,9 @@ Views.prototype.formatString = function (tag, text) {
}
if (html) {
edited = edited.replace("\n", "
");
- tag.innerHTML = edited;
+ $(tag).html(edited);
} else {
- tag.innerText = edited;
+ $(tag).text(edited);
}
};