Skip to content

Commit

Permalink
Update formatting of isInteractive method
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker committed Sep 8, 2016
1 parent a408ae2 commit fcafa61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/renderers/dom/client/eventPlugins/SimpleEventPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@ function getDictionaryKey(inst: ReactInstance): string {
}

function isInteractive(tag) {
return tag === 'button' || tag === 'input' ||
tag === 'select' || tag === 'textarea';
return (
tag === 'button' || tag === 'input' ||
tag === 'select' || tag === 'textarea'
);
}

function shouldPreventMouseEvent(inst) {
Expand Down

0 comments on commit fcafa61

Please sign in to comment.