mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 13:51:20 -08:00
bugfix
This commit is contained in:
1 parent
7beef11087
commit
851303e530
4 files changed
+5
-5
No files matched your search
@@ -13,7 +13,7 @@ export default class FullscreenWeb {
|
||||
this.$fullscreenWeb = append($control, icons.fullscreenWeb);
|
||||
tooltip(this.$fullscreenWeb, i18n.get('Web fullscreen'));
|
||||
proxy($control, 'click', () => {
|
||||
if (controls.fullscreen) {
|
||||
if (controls.fullscreen && controls.fullscreen.state) {
|
||||
controls.fullscreen.exit();
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ export default class Fullscreen {
|
||||
tooltip(this.$fullscreen, i18n.get('Fullscreen'));
|
||||
|
||||
proxy($control, 'click', () => {
|
||||
if (controls.fullscreenWeb) {
|
||||
if (controls.fullscreenWeb && controls.fullscreenWeb.state) {
|
||||
controls.fullscreenWeb.exit();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user