]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/comment-reply.js
WordPress 3.9.2-scripts
[autoinstalls/wordpress.git] / wp-includes / js / comment-reply.js
index 20154253a4f3fed7ff7fd3ec90f64bc3a001116e..2f2e3b34e4dd0567ad4d5a538f9752ae2ead73dc 100644 (file)
@@ -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);
        }
-}
+};