diff options
-rw-r--r-- | modules/comment/views/admin_comments.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php index 022b9fee..b1f0aa97 100644 --- a/modules/comment/views/admin_comments.html.php +++ b/modules/comment/views/admin_comments.html.php @@ -9,7 +9,7 @@ var delete_url = "<?= url::site("admin/comments/delete/__ID__?csrf=" . access::csrf_token()) ?>"; - function delete(id) { + function del(id) { $.get(delete_url.replace("__ID__", id)); $("#gComment-" + id).slideUp(); } @@ -122,7 +122,7 @@ <? endif ?> <li> - <a href="javascript:delete(<?=$comment->id?>)"> + <a href="javascript:del(<?=$comment->id?>)"> <?= _("Delete") ?> </a> </li> |