Browse Source

迎合以前顺序

Karl Chen 7 năm trước cách đây
mục cha
commit
212db32d05
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/fullscreen.js

+ 1 - 1
src/fullscreen.js

@@ -8,8 +8,8 @@ class FullScreen {
             this.player.resize();
         });
         this.player.events.on('webfullscreen_cancel', () => {
-            utils.setScrollPosition(this.lastScrollPosition);
             this.player.resize();
+            utils.setScrollPosition(this.lastScrollPosition);
         });
 
         const fullscreenchange = () => {