diff --git a/common/js/common.js b/common/js/common.js index a7f487e9c..183ead53e 100644 --- a/common/js/common.js +++ b/common/js/common.js @@ -18,9 +18,12 @@ function isDef() { // 윈도우 오픈 var winopen_list = new Array(); function winopen(url, target, attribute) { - if(target != "_blank" && winopen_list[target]) { - winopen_list[target].close(); - winopen_list[target] = null; + try { + if(target != "_blank" && winopen_list[target]) { + winopen_list[target].close(); + winopen_list[target] = null; + } + } catch(e) { } if(typeof(target)=='undefined') target = '_blank'; diff --git a/modules/editor/components/image_gallery/tpl/slide_gallery.js b/modules/editor/components/image_gallery/tpl/slide_gallery.js index 1f25a22dd..c91323810 100644 --- a/modules/editor/components/image_gallery/tpl/slide_gallery.js +++ b/modules/editor/components/image_gallery/tpl/slide_gallery.js @@ -25,7 +25,7 @@ function slide_gallery_add_image(srl, image_url) { // 원본 이미지를 미리 로딩 obj.image = new Image(); obj.image.src = image_url; - if(!obj.image.width) return; + //if(!obj.image.width) return; // 썸네일 이미지를 미리 로딩 obj.thumbnail = new Image();