Remove 'doreply' JS function
This commit is contained in:
parent
21637e033c
commit
4da96ee980
@ -234,6 +234,7 @@ function handle_comment_form(e) {
|
|||||||
form.find(':input[name=parent]').val(emptyCommentElm.replace(/\D/g,''));
|
form.find(':input[name=parent]').val(emptyCommentElm.replace(/\D/g,''));
|
||||||
var btn = form.find(':button[type=submit]').html();
|
var btn = form.find(':button[type=submit]').html();
|
||||||
form.find(':button[type=submit]').html(btn.replace(/<[^>]*>/g, '').trim());
|
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;
|
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) {
|
function doprofilelike(ident, verb) {
|
||||||
$.get('like/' + ident + '?verb=' + verb, function() { window.location.href=window.location.href; });
|
$.get('like/' + ident + '?verb=' + verb, function() { window.location.href=window.location.href; });
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user