X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/11be8dc178e77d0b46189bbd8e33a216a9b90942..a349837896628462bf8c9bdc27d1477a10fe03eb:/wp-includes/js/comment-reply.js diff --git a/wp-includes/js/comment-reply.js b/wp-includes/js/comment-reply.js index 20154253..2f2e3b34 100644 --- a/wp-includes/js/comment-reply.js +++ b/wp-includes/js/comment-reply.js @@ -1,5 +1,4 @@ - -addComment = { +var addComment = { moveForm : function(commId, parentId, respondId, postId) { var t = this, div, comm = t.I(commId), respond = t.I(respondId), cancel = t.I('cancel-comment-reply-link'), parent = t.I('comment_parent'), post = t.I('comment_post_ID'); @@ -34,7 +33,7 @@ addComment = { this.style.display = 'none'; this.onclick = null; return false; - } + }; try { t.I('comment').focus(); } catch(e) {} @@ -45,4 +44,4 @@ addComment = { I : function(e) { return document.getElementById(e); } -} +};