# HG changeset patch # User hertzhaft # Date 1392303204 -3600 # Node ID e74fad20180ae860c4699efea13a8fe44aee782f # Parent b7838a6f2958ca8ac36e9ca25f48c2217ec0adbc quick and dirty fix to make zooming possible again in MSIE diff -r b7838a6f2958 -r e74fad20180a webapp/src/main/webapp/jquery/jquery.digilib.js --- a/webapp/src/main/webapp/jquery/jquery.digilib.js Wed Feb 12 14:11:55 2014 +0100 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.js Thu Feb 13 15:53:24 2014 +0100 @@ -1184,9 +1184,9 @@ var $img = data.$img; if ($img == null) return; - var imgLoaded = false // FIXME: $.browser.msie - ? $img.prop('width') > 0 - : $img.prop('complete'); + var imgLoaded = $img.prop('complete') // q&d fix to make zooming in IE possible again + ? true + : $img.prop('width') > 0; if (imgLoaded || data.hasPreviewBg) { // create Transform from current zoomArea and image size data.imgTrafo = getImgTrafo($img, data.zoomArea, data.settings.rot,