增加全屏功能

This commit is contained in:
hexl21 2017-01-22 18:08:43 +08:00
parent f7672e3e02
commit 1e298bf102
1 changed files with 2 additions and 0 deletions

View File

@ -220,7 +220,9 @@ function initScrollState() {
$('.tab_right>a').addClass('active');
}
}
function fullPage() {
if ($.util.supportsFullScreen) {
if ($.util.isFullScreen()) {
$.util.cancelFullScreen();