Show More
@@ -147,7 +147,8 b' PopupImageViewer.prototype.view = functi' | |||
|
147 | 147 | 'width': img_w, |
|
148 | 148 | 'height': img_h, |
|
149 | 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 | 153 | //scaling preview |
|
153 | 154 | .mousewheel(function(event, delta) { |
General Comments 0
You need to be logged in to leave comments.
Login now