From b73103fc4161aa75297e28191188a762cd47d6fa Mon Sep 17 00:00:00 2001 From: James Leslie Miller Date: Sat, 26 Jan 2019 16:13:41 -0600 Subject: [PATCH] =?UTF-8?q?Replace=20=E2=80=9C$=E2=80=9D=20with=20?= =?UTF-8?q?=E2=80=9CjQuery=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/editorial-comments/lib/editorial-comments.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/editorial-comments/lib/editorial-comments.js b/modules/editorial-comments/lib/editorial-comments.js index a6da43b5e..068f0b75d 100644 --- a/modules/editorial-comments/lib/editorial-comments.js +++ b/modules/editorial-comments/lib/editorial-comments.js @@ -23,7 +23,7 @@ editorialCommentReply = { jQuery('a.ef-replysave', row).click(function() { return editorialCommentReply.send(); }); // Watch for changes to the subscribed users. - $( '#ef-post_following_box' ).on( 'following_list_updated', function() { + jQuery( '#ef-post_following_box' ).on( 'following_list_updated', function() { editorialCommentReply.notifiedMessage(); } ); }, @@ -145,8 +145,8 @@ editorialCommentReply = { var usernames = []; subscribed_users.each( function() { // Add usernames of checked users to the list if they don't have a blocking class - if ( ! $( this ).siblings().is( '.post_following_list-no_email,.post_following_list-no_access' ) && ! $( this ).hasClass( 'post_following_list-current_user' ) ) { - usernames.push( $( this ).parent().siblings( '.ef-user_displayname, .ef-usergroup_name' ).text() ); + if ( ! jQuery( this ).siblings().is( '.post_following_list-no_email,.post_following_list-no_access' ) && ! jQuery( this ).hasClass( 'post_following_list-current_user' ) ) { + usernames.push( jQuery( this ).parent().siblings( '.ef-user_displayname, .ef-usergroup_name' ).text() ); } } );