Better camelCase name

[MAILPOET-2378]
This commit is contained in:
Ján Mikláš
2019-09-30 13:30:31 +02:00
committed by Jack Kitterhing
parent b16b524f7b
commit c450efa4df
2 changed files with 2 additions and 2 deletions

View File

@@ -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());
},

View File

@@ -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',