Commit a9aba9b5 authored by Jeff MrBE4R's avatar Jeff MrBE4R
Browse files

commit 4

parent 2131dfff
...@@ -15,7 +15,13 @@ ...@@ -15,7 +15,13 @@
var nH = $(document).height() - 90; var nH = $(document).height() - 90;
$("#novnc").css("height", nH + 'px'); $("#novnc").css("height", nH + 'px');
} }
$(document).ready(iframeFullSize()); $(document).ready(
function iframeFullSize(){
$("#novnc").css("width", $("#page-wrapper").width());
var nH = $(document).height() - 90;
$("#novnc").css("height", nH + 'px');
}
);
$( document ).ready(function() { $( document ).ready(function() {
setTimeout(function(){ setTimeout(function(){
var iframe = $("#novnc")[0]; var iframe = $("#novnc")[0];
......
Supports Markdown
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