Commit cc4b3384 authored by Dietmar Maurer's avatar Dietmar Maurer

noVNC: remove unnecessary padding

Height is still wrong, dont know why!
parent 4e1e560c
......@@ -85,7 +85,7 @@ Ext.define('PVE.VNCConsole', {
var novnciframe = box.getFrame();
// noVNC_canvas
var innerDoc = novnciframe.contentDocument || novnciframe.contentWindow.document;
aw = innerDoc.getElementById('noVNC_canvas').width + 8;
aw = innerDoc.getElementById('noVNC_canvas').width;
ah = innerDoc.getElementById('noVNC_canvas').height + 8;
var novnc_state = innerDoc.getElementById('noVNC_status_state').innerHTML;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment