eebb4620 by Jeff Balicki

3

1 parent 1c92ac8b
...@@ -235,6 +235,7 @@ function changePdfOptions(json, edit) { ...@@ -235,6 +235,7 @@ function changePdfOptions(json, edit) {
235 var windowHBG = 0.923 * $(window).height(); 235 var windowHBG = 0.923 * $(window).height();
236 236
237 if(json[0].pwidth > json[0].pheight){ 237 if(json[0].pwidth > json[0].pheight){
238 console.log('wide')
238 var scaleImage = windowWidth / json[0].pwidth; 239 var scaleImage = windowWidth / json[0].pwidth;
239 var imageHeight = json[0].pheight * scaleImage; 240 var imageHeight = json[0].pheight * scaleImage;
240 var imageWidth = windowWidth; 241 var imageWidth = windowWidth;
......