fix screenfull bug

This commit is contained in:
Pan 2017-06-27 14:20:50 +08:00
parent cb53ba891c
commit 95ef202d20

View file

@ -35,14 +35,7 @@
});
return false;
}
if (this.isFullscreen) {
screenfull.exit();
this.isFullscreen = false;
} else {
screenfull.request();
this.isFullscreen = true;
}
screenfull.toggle();
}
}
}