diff --git a/js/inline-expanding.js b/js/inline-expanding.js index 195f92d6..f6714d7f 100644 --- a/js/inline-expanding.js +++ b/js/inline-expanding.js @@ -15,6 +15,8 @@ onready(function(){ for(var i = 0; i < link.length; i++) { if(typeof link[i] == "object" && link[i].childNodes[0].src && link[i].className != 'file') { + link[i].childNodes[0].style.maxWidth = '95%'; + link[i].childNodes[0].style.maxHeight = '95%'; link[i].onclick = function(e) { if(e.which == 2) { return true;