Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Move check out of parentheses
Browse files Browse the repository at this point in the history
Closes #5939
  • Loading branch information
barryvdh authored and ThomasBurleson committed Jun 12, 2016
1 parent b00e6f5 commit bd1cce4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/services/gesture/gesture.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ function MdGesture($$MdGestureHandler, $$rAF, $timeout) {

return (element.getAttribute('tabindex') != '-1') &&
!element.hasAttribute('DISABLED') &&
(element.hasAttribute('tabindex') || element.hasAttribute('href') ||
(focusableElements.indexOf(element.nodeName) != -1|| element.isContentEditable));
(element.hasAttribute('tabindex') || element.hasAttribute('href') || element.isContentEditable ||
(focusableElements.indexOf(element.nodeName) != -1));
}
}
});
Expand Down

0 comments on commit bd1cce4

Please sign in to comment.