Commit 225cefd4 authored by Janez K's avatar Janez K
Browse files

popravil scrollbar bug

parent 8ac08822
...@@ -1416,6 +1416,8 @@ $(function(){ ...@@ -1416,6 +1416,8 @@ $(function(){
resizeSvg(); resizeSvg();
setTimeout("resizeSvg()",1000);
}); });
function refreshProgressBars() { function refreshProgressBars() {
...@@ -1686,7 +1688,7 @@ function stopUpload(result,input_id) ...@@ -1686,7 +1688,7 @@ function stopUpload(result,input_id)
function resizeSvg() { function resizeSvg() {
$("svg").each(function() { $("svg").each(function() {
$(this).css('height',$(this).parent()[0].scrollHeight+'px'); $(this).css('height',$(this).parent()[0].scrollHeight-40+'px');
$(this).css('width',$(this).parent()[0].scrollWidth+'px'); $(this).css('width',$(this).parent()[0].scrollWidth-40+'px');
}); });
} }
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