Преглед изворни кода

Merge pull request #565 from damencho/dock-toolbar-on-shared-video

Docks toolbar when shared video is shown.
j8
yanas пре 9 година
родитељ
комит
2ef9412a01
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…
Откажи
Сачувај