Commit 95ef202d authored by Pan's avatar Pan

fix screenfull bug

parent cb53ba89
...@@ -35,14 +35,7 @@ ...@@ -35,14 +35,7 @@
}); });
return false; return false;
} }
screenfull.toggle();
if (this.isFullscreen) {
screenfull.exit();
this.isFullscreen = false;
} else {
screenfull.request();
this.isFullscreen = true;
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment