Skip to content

Commit fcafa61

Browse files
committed
Update formatting of isInteractive method
1 parent a408ae2 commit fcafa61

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/renderers/dom/client/eventPlugins/SimpleEventPlugin.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,10 @@ function getDictionaryKey(inst: ReactInstance): string {
147147
}
148148

149149
function isInteractive(tag) {
150-
return tag === 'button' || tag === 'input' ||
151-
tag === 'select' || tag === 'textarea';
150+
return (
151+
tag === 'button' || tag === 'input' ||
152+
tag === 'select' || tag === 'textarea'
153+
);
152154
}
153155

154156
function shouldPreventMouseEvent(inst) {

0 commit comments

Comments
 (0)