This commit is contained in:
q
2016-02-15 07:17:35 +02:00
parent 53001fcab9
commit d4cef100e7

View File

@@ -1558,7 +1558,10 @@ function flipzoom() {
showimage(currentimage); showimage(currentimage);
} }
function getmaxthumbs() { function getmaxthumbs() {
return Math.floor((document.body.clientWidth-30)/100)-2; maxthumbs=Math.floor((document.body.clientWidth-30)/100)-2;
// quick fix for larger displays
maxthumbs=maxthumbs - Math.floor(document.body.clientWidth/1000);
return maxthumbs;
} }
function isHTML(s) { function isHTML(s) {