This commit is contained in:
Harvey Zack committed 2018-11-05 17:44:27 +08:00
1 parent 7beef11087
commit 851303e530
4 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -1452,7 +1452,7 @@
this.$fullscreen = append($control, icons$1.fullscreen);
tooltip(this.$fullscreen, i18n.get('Fullscreen'));
proxy($control, 'click', function () {
if (controls.fullscreenWeb) {
if (controls.fullscreenWeb && controls.fullscreenWeb.state) {
controls.fullscreenWeb.exit();
}
@@ -1541,7 +1541,7 @@
this.$fullscreenWeb = append($control, icons$1.fullscreenWeb);
tooltip(this.$fullscreenWeb, i18n.get('Web fullscreen'));
proxy($control, 'click', function () {
if (controls.fullscreen) {
if (controls.fullscreen && controls.fullscreen.state) {
controls.fullscreen.exit();
}