Better camelCase name
[MAILPOET-2378]
This commit is contained in:
committed by
Jack Kitterhing
parent
b16b524f7b
commit
c450efa4df
@@ -56,7 +56,7 @@ MailPoet.Ajax = {
|
||||
data: this.options.data || {},
|
||||
};
|
||||
},
|
||||
constructGETUrl: function constructGETUrl(options) {
|
||||
constructGetUrl: function constructGetUrl(options) {
|
||||
this.init(options);
|
||||
return this.options.url + '?' + jQuery.param(this.getParams());
|
||||
},
|
||||
|
@@ -176,7 +176,7 @@ class NewsletterTypes extends React.Component {
|
||||
|
||||
const types = Hooks.applyFilters('mailpoet_newsletters_types', [...defaultTypes, ...this.getAutomaticEmails()], this);
|
||||
const badgeClassName = (window.mailpoet_is_new_user === true) ? 'mailpoet_badge mailpoet_badge_video' : 'mailpoet_badge mailpoet_badge_video mailpoet_badge_video_grey';
|
||||
const templatesGETUrl = MailPoet.Ajax.constructGETUrl({
|
||||
const templatesGETUrl = MailPoet.Ajax.constructGetUrl({
|
||||
api_version: window.mailpoet_api_version,
|
||||
endpoint: 'newsletterTemplates',
|
||||
action: 'getAll',
|
||||
|
Reference in New Issue
Block a user