mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
원본 이미지 보기 자바스크립트 함수 수정
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2017 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a9f53c939c
commit
ccc2ebf04d
1 changed files with 2 additions and 1 deletions
|
|
@ -185,7 +185,8 @@ function resizeImageContents() {
|
||||||
var orig_img = new Image();
|
var orig_img = new Image();
|
||||||
orig_img.src = obj.src;
|
orig_img.src = obj.src;
|
||||||
|
|
||||||
if(parent_width > obj_width && orig_img.width == obj_width) continue;
|
if(parent_width<0 || obj_width < 0) continue;
|
||||||
|
if(parent_width > obj_width && orig_img.width <= obj_width) continue;
|
||||||
|
|
||||||
obj.style.cursor = "pointer";
|
obj.style.cursor = "pointer";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue