diff --git a/assets/js/src/newsletter_editor/blocks/automatedLatestContent.js b/assets/js/src/newsletter_editor/blocks/automatedLatestContent.js index 8ee80a98f5..e86c8b0779 100644 --- a/assets/js/src/newsletter_editor/blocks/automatedLatestContent.js +++ b/assets/js/src/newsletter_editor/blocks/automatedLatestContent.js @@ -208,7 +208,7 @@ define([ }, }).trigger( 'change' ).on({ 'change': function(e){ - var data = $(this).data('selected'); + var data = jQuery(this).data('selected'); if (typeof data === 'string') { if (data === '') { @@ -229,7 +229,7 @@ define([ // Update ALC model that.model.set('terms', data); - $(this).data('selected', JSON.stringify(data)); + jQuery(this).data('selected', JSON.stringify(data)); } }); }, diff --git a/assets/js/src/newsletter_editor/blocks/posts.js b/assets/js/src/newsletter_editor/blocks/posts.js index f9b74040d4..c16a5bf235 100644 --- a/assets/js/src/newsletter_editor/blocks/posts.js +++ b/assets/js/src/newsletter_editor/blocks/posts.js @@ -347,7 +347,7 @@ define([ // Update ALC model that.model.set('terms', data); - $(this).data('selected', JSON.stringify(data)); + jQuery(this).data('selected', JSON.stringify(data)); } }); },