From 1b5de44dce8e37332e2b530288a050ceee946465 Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 19 Nov 2007 06:26:56 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3003 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/js/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/js/common.js b/common/js/common.js index 360e8aa67..0f6fe27df 100644 --- a/common/js/common.js +++ b/common/js/common.js @@ -240,7 +240,7 @@ function resizeImageContents() { var orig_img = new Image(); orig_img.src = obj.src; - if(parent_width<1 || obj_width <1 || parent_width >= obj_width) continue; + if(parent_width<1 || obj_width <1 || parent_width >= orig_img.width) continue; obj.style.cursor = "pointer";