Fix the usages of Detect Passive Events (#4749)

This commit is contained in:
Akihiko Odaki authored and Eugen Rochko committed 2017-08-31 11:20:54 +02:00
1 parent d1a78eba15
commit 69957ed10a
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ export default class Column extends React.PureComponent {
}
componentDidMount () {
this.node.addEventListener('wheel', this.handleWheel, detectPassiveEvents ? { passive: true } : false);
this.node.addEventListener('wheel', this.handleWheel, detectPassiveEvents.hasSupport ? { passive: true } : false);
}
componentWillUnmount () {