mirror of
https://github.com/typecho/typecho.git
synced 2025-04-04 02:02:27 +02:00
继续完善
This commit is contained in:
parent
3541f1bb00
commit
beaa7cb6e4
@ -5367,7 +5367,7 @@ else
|
||||
document.body[adapter.requestFullscreen]('webkitRequestFullScreen' == adapter.requestFullscreen
|
||||
? Element.ALLOW_KEYBOARD_INPUT : null);
|
||||
self.isFakeFullScreen = false;
|
||||
} else {
|
||||
} else if (!isFullScreen()) {
|
||||
buttons.exitFullscreen.style.display = '';
|
||||
self.hooks.enterFakeFullScreen();
|
||||
self.isFakeFullScreen = true;
|
||||
@ -5376,7 +5376,7 @@ else
|
||||
if (self.isFakeFullScreen) {
|
||||
buttons.exitFullscreen.style.display = 'none';
|
||||
self.hooks.exitFullScreen();
|
||||
} else {
|
||||
} else if (isFullScreen()) {
|
||||
document[adapter.cancelFullscreen]();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user