* Calculate height in html format.

This commit is contained in:
hufangzhou
2022-08-25 11:16:44 +08:00
parent 815308b0a1
commit fa9ea8cdca
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -158,8 +158,7 @@
$(function()
{
var contentHeight = $(document).height() - 120;
setTimeout(function(){$('.ke-edit-iframe, .ke-edit').height(contentHeight);}, 100);
setTimeout(function(){$('.CodeMirror').height(contentHeight);}, 100);
setTimeout(function(){$('.ke-edit-iframe, .ke-edit, .ke-edit-textarea, .CodeMirror').height(contentHeight);}, 100);
$(document).on('click', '#modalBasicInfo tfoot .btn', function() {$('#modalBasicInfo').modal('hide');});
+1 -2
View File
@@ -155,8 +155,7 @@
$(function()
{
var contentHeight = $(document).height() - 100;
setTimeout(function(){$('.ke-edit-iframe, .ke-edit').height(contentHeight);}, 100);
setTimeout(function(){$('.CodeMirror').height(contentHeight);}, 100);
setTimeout(function(){$('.ke-edit-iframe, .ke-edit, .ke-edit-textarea, .CodeMirror').height(contentHeight);}, 100);
$(document).on('click', '#modalBasicInfo tfoot .btn', function() {$('#modalBasicInfo').modal('hide');});