Skip to content

Commit

Permalink
Fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
KamiKillertO authored Oct 2, 2020
1 parent 81042a3 commit f993aa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/components/a11y-landmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ export default Component.extend({
* since nothing is going to be the direct child of the body in an Ember app, we don't have to check for that.
*/
ariaRole: computed('tagName', 'landmarkRole', function() {
const landmark = this.get('tagName');
const landmarkRole = this.get('landmarkRole');
const landmark = this.tagName;
const landmarkRole = this.landmarkRole;

if (landmark && landmarkRole) {
if (landmark === 'form' && landmarkRole === 'search') {
Expand Down

0 comments on commit f993aa6

Please sign in to comment.