fix screenfull bug
This commit is contained in:
parent
cb53ba891c
commit
95ef202d20
1 changed files with 1 additions and 8 deletions
|
@ -35,14 +35,7 @@
|
|||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.isFullscreen) {
|
||||
screenfull.exit();
|
||||
this.isFullscreen = false;
|
||||
} else {
|
||||
screenfull.request();
|
||||
this.isFullscreen = true;
|
||||
}
|
||||
screenfull.toggle();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue