aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-04-30 17:35:53 +0200
committerMax Kostikov <max@kostikov.co>2019-04-30 17:35:53 +0200
commit4da96ee98035956620dcb80e4a76832e3d4ff168 (patch)
tree5e05ec679450a22a977212185f17633905488005 /view/js/main.js
parent21637e033c2f43e99189e6c17f383c3efa3315a2 (diff)
downloadvolse-hubzilla-4da96ee98035956620dcb80e4a76832e3d4ff168.tar.gz
volse-hubzilla-4da96ee98035956620dcb80e4a76832e3d4ff168.tar.bz2
volse-hubzilla-4da96ee98035956620dcb80e4a76832e3d4ff168.zip
Remove 'doreply' JS function
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/view/js/main.js b/view/js/main.js
index d6bdc8238..8f644dc8e 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -234,6 +234,7 @@ function handle_comment_form(e) {
form.find(':input[name=parent]').val(emptyCommentElm.replace(/\D/g,''));
var btn = form.find(':button[type=submit]').html();
form.find(':button[type=submit]').html(btn.replace(/<[^>]*>/g, '').trim());
+ form.find(':button[type=submit]').prop('title', '');
}
});
@@ -1143,15 +1144,6 @@ function dolike(ident, verb) {
liking = 1;
}
-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().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();
-}
-
function doprofilelike(ident, verb) {
$.get('like/' + ident + '?verb=' + verb, function() { window.location.href=window.location.href; });
}