From a5b7247d885014c9dc25fa4892b74d541a032cc5 Mon Sep 17 00:00:00 2001 From: SimonFair <39065407+SimonFair@users.noreply.github.com> Date: Mon, 22 Apr 2024 22:02:33 +0100 Subject: [PATCH] Fix mobile devices --- emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php | 1 + 1 file changed, 1 insertion(+) diff --git a/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php b/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php index 32c109aec..9579fcafa 100644 --- a/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php +++ b/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php @@ -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);