Browse Source

迎合以前顺序

Karl Chen 7 years ago
parent
commit
212db32d05
1 changed files with 1 additions and 1 deletions
  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 = () => {