##// END OF EJS Templates
Chrome image popups fix
neko259 -
r1485:87524e39 default
parent child Browse files
Show More
@@ -147,7 +147,8 b' PopupImageViewer.prototype.view = functi'
147 'width': img_w,
147 'width': img_w,
148 'height': img_h,
148 'height': img_h,
149 'left': (win_w - img_w) / 2,
149 'left': (win_w - img_w) / 2,
150 'top': ((win_h - img_h) / 2)
150 'top': ((win_h - img_h) / 2),
151 'position': 'fixed' // Chrome fix because it adds a 'relative' value to the image somehow
151 })
152 })
152 //scaling preview
153 //scaling preview
153 .mousewheel(function(event, delta) {
154 .mousewheel(function(event, delta) {
General Comments 0
You need to be logged in to leave comments. Login now