Showing
1 changed file
with
2 additions
and
2 deletions
@@ -215,8 +215,8 @@ define('mobile', function(require, exports) { | @@ -215,8 +215,8 @@ define('mobile', function(require, exports) { | ||
215 | var imageWidth = $(window).width(), | 215 | var imageWidth = $(window).width(), |
216 | imageHeight = 320; | 216 | imageHeight = 320; |
217 | $(this).find(".image-box .pic-tip").each(function() { | 217 | $(this).find(".image-box .pic-tip").each(function() { |
218 | - var style_top = parseInt($(this).attr("x")) / 10000 * imageHeight; | ||
219 | - var style_left = parseInt($(this).attr("y")) / 10000 * imageWidth; | 218 | + var style_left = parseInt($(this).attr("x")) / 10000 * imageHeight; |
219 | + var style_top = parseInt($(this).attr("y")) / 10000 * imageWidth; | ||
220 | $(this).css({ | 220 | $(this).css({ |
221 | top: style_top, | 221 | top: style_top, |
222 | left: style_left, | 222 | left: style_left, |
-
Please register or login to post a comment