X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/449d082fcc4873c1f7d363a0d9f7409be7f6e77d..245e789b234afa4525862e7a6e5e3c2e7a52ef20:/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); } -} +};