wp/wp-includes/js/comment-reply.js
changeset 5 5e2f62d02dcd
parent 0 d970ebf37754
child 7 cf61fcea0001
--- a/wp/wp-includes/js/comment-reply.js	Mon Jun 08 16:11:51 2015 +0000
+++ b/wp/wp-includes/js/comment-reply.js	Tue Jun 09 03:35:32 2015 +0200
@@ -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 @@
 			this.style.display = 'none';
 			this.onclick = null;
 			return false;
-		}
+		};
 
 		try { t.I('comment').focus(); }
 		catch(e) {}
@@ -45,4 +44,4 @@
 	I : function(e) {
 		return document.getElementById(e);
 	}
-}
+};