瀏覽代碼

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;

Loading…
取消
儲存