fix screenfull bug
This commit is contained in:
parent
cb53ba891c
commit
95ef202d20
|
@ -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 New Issue