Fix mobile devices

This commit is contained in:
SimonFair
2024-04-22 22:02:33 +01:00
parent 2bec253098
commit a5b7247d88

View File

@@ -1914,6 +1914,7 @@ $(function() {
if ($(this).is(':checked')) {
setTimeout(function() {
var xmlPanelHeight = window.outerHeight - 550;
if (xmlPanelHeight < 0) xmlPanelHeight = null;
editor.setSize(null,xmlPanelHeight);
editor.refresh();
}, 100);