fix screenfull bug

This commit is contained in:
Pan 2017-06-27 14:20:50 +08:00
parent cb53ba891c
commit 95ef202d20
1 changed files with 1 additions and 8 deletions

View File

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