mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-14 00:44:07 +08:00
fix multiplication of edit comment fields
This commit is contained in:
parent
9a3e531b33
commit
177c4b5918
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ var Comments = (function() {
|
|||
}
|
||||
|
||||
function initEditComments(parent) {
|
||||
$(parent).on('click', '[data-action=edit-comment]', function() {
|
||||
$(parent).unbind('click').on('click', '[data-action=edit-comment]', function() {
|
||||
|
||||
var $this = $(this);
|
||||
$.ajax({
|
||||
|
|
Loading…
Reference in a new issue