Docks toolbar when shared video is shown.

This commit is contained in:
damencho 2016-03-29 14:36:20 -05:00
parent 24896634f6
commit a38b628d76
1 changed files with 2 additions and 0 deletions

View File

@ -333,6 +333,7 @@ class SharedVideoContainer extends LargeContainer {
self.bodyBackground = document.body.style.background;
document.body.style.background = 'black';
this.$iframe.css({opacity: 1});
ToolbarToggler.dockToolbar(true);
resolve();
});
});
@ -340,6 +341,7 @@ class SharedVideoContainer extends LargeContainer {
hide () {
let self = this;
ToolbarToggler.dockToolbar(false);
return new Promise(resolve => {
this.$iframe.fadeOut(300, () => {
document.body.style.background = self.bodyBackground;