浏览代码

Docks toolbar when shared video is shown.

master
damencho 9 年前
父节点
当前提交
a38b628d76
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      modules/UI/shared_video/SharedVideo.js

+ 2
- 0
modules/UI/shared_video/SharedVideo.js 查看文件

333
                 self.bodyBackground = document.body.style.background;
333
                 self.bodyBackground = document.body.style.background;
334
                 document.body.style.background = 'black';
334
                 document.body.style.background = 'black';
335
                 this.$iframe.css({opacity: 1});
335
                 this.$iframe.css({opacity: 1});
336
+                ToolbarToggler.dockToolbar(true);
336
                 resolve();
337
                 resolve();
337
             });
338
             });
338
         });
339
         });
340
 
341
 
341
     hide () {
342
     hide () {
342
         let self = this;
343
         let self = this;
344
+        ToolbarToggler.dockToolbar(false);
343
         return new Promise(resolve => {
345
         return new Promise(resolve => {
344
             this.$iframe.fadeOut(300, () => {
346
             this.$iframe.fadeOut(300, () => {
345
                 document.body.style.background = self.bodyBackground;
347
                 document.body.style.background = self.bodyBackground;

正在加载...
取消
保存