aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 568f5bb4b..d6bdc8238 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1146,7 +1146,7 @@ function dolike(ident, verb) {
function doreply(parent, ident, owner) {
form = $('#comment-edit-form-' + parent.toString());
form.find('input[name=parent]').val(ident);
- var btn = form.find('button[type=submit]').html();
+ var btn = form.find('button[type=submit]').html().replace(/<[^>]*>/g, '').trim();
form.find('button[type=submit]').html('<i class="fa fa-reply" ></i> ' + btn);
form.find('textarea').val("@{" + owner + "}\n");
$('#comment-edit-text-' + parent.toString()).focus();