mirror of
https://github.com/typecho/typecho.git
synced 2025-03-19 01:19:40 +01:00
fix fullscreen
This commit is contained in:
parent
1d72a7d335
commit
054739c406
@ -129,8 +129,7 @@ $(document).ready(function () {
|
||||
editor.hooks.chain('enterFullScreen', function () {
|
||||
th = textarea.height();
|
||||
$(document.body).addClass('fullscreen');
|
||||
$('#wmd-fullscreen-button span').css('background-position', '-240px -20px');
|
||||
textarea.height(window.screen.height - 38);
|
||||
textarea.css('height', window.screen.height - 46);
|
||||
});
|
||||
|
||||
editor.hooks.chain('exitFullScreen', function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user