diff --git a/.eslintrc.es6.json b/.eslintrc.es6.json index 8282e156ff..bf5b0fcdbb 100644 --- a/.eslintrc.es6.json +++ b/.eslintrc.es6.json @@ -31,7 +31,6 @@ "react/jsx-boolean-value": 0, "react/jsx-no-bind": 0, "react/no-array-index-key": 0, - "jsx-a11y/no-static-element-interactions": 0, "jsx-a11y/alt-text": 0, "func-names": 0, "object-shorthand": 0, diff --git a/assets/js/src/listing/header.jsx b/assets/js/src/listing/header.jsx index 149576448b..2d06ed5e3c 100644 --- a/assets/js/src/listing/header.jsx +++ b/assets/js/src/listing/header.jsx @@ -74,7 +74,11 @@ const ListingColumn = React.createClass({ if (this.props.column.sortable === true) { label = ( - + { this.props.column.label } @@ -84,6 +88,7 @@ const ListingColumn = React.createClass({ } return ( {(!isFirst) ? ' | ' : ''} { action.link(this.props.item) } diff --git a/assets/js/src/newsletters/templates/template_box.jsx b/assets/js/src/newsletters/templates/template_box.jsx index 50330ee1a2..d44b6b27fc 100644 --- a/assets/js/src/newsletters/templates/template_box.jsx +++ b/assets/js/src/newsletters/templates/template_box.jsx @@ -127,12 +127,16 @@ class TemplateBox extends React.Component { {MailPoet.I18n.t('preview')}   {MailPoet.I18n.t('select')} { readonly === '1' ? false : deleteLink } diff --git a/assets/js/src/newsletters/types.jsx b/assets/js/src/newsletters/types.jsx index 9e1bc13ec2..d4904b3664 100644 --- a/assets/js/src/newsletters/types.jsx +++ b/assets/js/src/newsletters/types.jsx @@ -81,7 +81,13 @@ define( description: MailPoet.I18n.t('regularNewsletterTypeDescription'), action: function () { return ( - + {MailPoet.I18n.t('create')} ); @@ -107,7 +113,13 @@ define( description: MailPoet.I18n.t('postNotificationNewsletterTypeDescription'), action: function () { return ( - + {MailPoet.I18n.t('setUp')} );