Try binding actin handler
parent
79eda12656
commit
da6c5653b1
|
@ -27,7 +27,7 @@ module.exports = React.createClass({
|
||||||
mixins: [VideoViewController],
|
mixins: [VideoViewController],
|
||||||
|
|
||||||
componentWillMount: function() {
|
componentWillMount: function() {
|
||||||
dis.register(this.onAction);
|
dis.register(this.onAction.bind(this));
|
||||||
},
|
},
|
||||||
|
|
||||||
getRemoteVideoElement: function() {
|
getRemoteVideoElement: function() {
|
||||||
|
|
Loading…
Reference in New Issue