From c0e53279b3de531f9a1639c0c2b97d5ea019bc47 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 15 Jul 2019 16:46:55 +0000 Subject: [PATCH] Comments: Fix typo in comment reply observer options. Props maguiar. Fixes #47706. See #46260. Built from https://develop.svn.wordpress.org/trunk@45641 git-svn-id: http://core.svn.wordpress.org/trunk@45452 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/comment-reply.js | 2 +- wp-includes/js/comment-reply.min.js | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/comment-reply.js b/wp-includes/js/comment-reply.js index 75fc183e42..a82fc03c87 100644 --- a/wp-includes/js/comment-reply.js +++ b/wp-includes/js/comment-reply.js @@ -206,7 +206,7 @@ window.addComment = ( function( window ) { var observerOptions = { childList: true, - subTree: true + subtree: true }; observer = new MutationObserver( handleChanges ); diff --git a/wp-includes/js/comment-reply.min.js b/wp-includes/js/comment-reply.min.js index a969b71e72..eedf334d2e 100644 --- a/wp-includes/js/comment-reply.min.js +++ b/wp-includes/js/comment-reply.min.js @@ -1 +1 @@ -window.addComment=function(a){function b(){c(),g()}function c(a){if(t&&(m=j(r.cancelReplyId),n=j(r.commentFormId),m)){m.addEventListener("touchstart",e),m.addEventListener("click",e);for(var b,c=d(a),g=0,h=c.length;g