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

pull/21833/head
Matthew Hodgson 2016-02-19 01:18:37 +00:00
parent dc94df4b06
commit 7f310ce307
1 changed files with 2 additions and 2 deletions

View File

@ -85,9 +85,9 @@ module.exports = React.createClass({
// if this call is a conf call, don't display local video as the
// conference will have us in it
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 {
this.getVideoView().getLocalVideoElement().style.display = "none";