diff --git a/public/theme/js/main.js b/public/theme/js/main.js index 525e17f..26724e9 100644 --- a/public/theme/js/main.js +++ b/public/theme/js/main.js @@ -17,26 +17,22 @@ $(document).ready(function() { // handle 'add comment' button click $('a#cadd').click(function(e) { e.preventDefault(); - var url = document.createElement('a'); - url.href = window.location; $(this).remove(); - var form = $('