mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Fixes #856 - duplicate 'reply to' comment forms.
This commit is contained in:
@@ -109,7 +109,12 @@ $(document).ready(function()
|
||||
var sp = $(this).attr('id').split("-");
|
||||
var id = "#comment-" + sp[3];
|
||||
|
||||
if($('.e-comment-edit-save').length != 0) //prevent creating save button twice.
|
||||
var present = $('#e-comment-form-reply');
|
||||
// console.log(present);
|
||||
|
||||
|
||||
|
||||
if($('.e-comment-edit-save').length !== 0 || $('#e-comment-form-reply').length !== 0 ) //prevent creating save button twice.
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user