mirror of
https://github.com/unraid/webgui.git
synced 2026-01-08 02:29:51 -06:00
Merge pull request #1707 from SimonFair/XML-Windows-Size
Fix mobile devices VM XML View
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user