fix nasty overscroll bug on video element caused by inline v. block

This commit is contained in:
Matthew Hodgson 2016-02-19 01:18:37 +00:00
parent dc94df4b06
commit 7f310ce307

View file

@ -85,9 +85,9 @@ module.exports = React.createClass({
// if this call is a conf call, don't display local video as the // if this call is a conf call, don't display local video as the
// conference will have us in it // conference will have us in it
this.getVideoView().getLocalVideoElement().style.display = ( this.getVideoView().getLocalVideoElement().style.display = (
call.confUserId ? "none" : "initial" call.confUserId ? "none" : "block"
); );
this.getVideoView().getRemoteVideoElement().style.display = "initial"; this.getVideoView().getRemoteVideoElement().style.display = "block";
} }
else { else {
this.getVideoView().getLocalVideoElement().style.display = "none"; this.getVideoView().getLocalVideoElement().style.display = "none";