diff --git a/app/assets/javascripts/admin/controllers/modals/admin-add-upload.js.es6 b/app/assets/javascripts/admin/controllers/modals/admin-add-upload.js.es6 index 41a2f857154..3d771a91e6d 100644 --- a/app/assets/javascripts/admin/controllers/modals/admin-add-upload.js.es6 +++ b/app/assets/javascripts/admin/controllers/modals/admin-add-upload.js.es6 @@ -16,7 +16,7 @@ export default Ember.Controller.extend(ModalFunctionality, { @computed('name') nameValid(name) { - return name && name.match(/^[a-zA-Z0-9-_]+$/) + return name && name.match(/^[a-zA-Z0-9-_]+$/); }, @observes('name') diff --git a/app/assets/javascripts/admin/models/theme.js.es6 b/app/assets/javascripts/admin/models/theme.js.es6 index 3da681477aa..742d06317fd 100644 --- a/app/assets/javascripts/admin/models/theme.js.es6 +++ b/app/assets/javascripts/admin/models/theme.js.es6 @@ -54,7 +54,7 @@ const Theme = RestModel.extend({ getField(target, name) { let themeFields = this.get("themeFields"); - let key = this.getKey({target, name}) + let key = this.getKey({target, name}); let field = themeFields[key]; return field ? field.value : ""; },