|
|
@@ -311,12 +311,14 @@
|
|
|
$(document).ready( function() {
|
|
|
$(".pd_descrp_pop .cont_body").find('img').each(function() {
|
|
|
let tmpImgSrc = $(this).attr('src');
|
|
|
- if (tmpImgSrc.indexOf('/Upload/Local') > 0 ){ // /Upload
|
|
|
- $(this).attr('src' , tmpImgSrc.replace('/Upload/Local', "/Local"));
|
|
|
- }else if (tmpImgSrc.indexOf('Upload') == 1 ){ // /Upload
|
|
|
+ if (tmpImgSrc.indexOf('Upload') == 1 ){ // /Upload
|
|
|
$(this).attr('src' , tmpImgSrc.replace('/Upload', _imgUrl+"/Local"));
|
|
|
}
|
|
|
|
|
|
+ if (tmpImgSrc.indexOf('/Upload/Local') > 0 ){ // /Upload
|
|
|
+ $(this).attr('src' , tmpImgSrc.replace('/Upload/Local', "/Local"));
|
|
|
+ }
|
|
|
+
|
|
|
});
|
|
|
//210526_ 추가 : 이미지 style 속성 제거
|
|
|
$(".mdhtml_box style").remove();$(".mdhtml_box img").removeAttr("style");
|