Skip to content

Commit d78428b

Browse files
committed
[fixed] Remove remaining reference to role dialog
This fixes an oversight from 919daa3
1 parent b09cdf9 commit d78428b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/components/ModalPortal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ var ModalPortal = module.exports = React.createClass({
202202
onKeyDown: this.handleKeyDown,
203203
onMouseDown: this.handleContentMouseDown,
204204
onMouseUp: this.handleContentMouseUp,
205-
role: "dialog"
205+
role: this.props.role
206206
},
207207
this.props.children
208208
)

0 commit comments

Comments
 (0)