게시판 이미지 새창열기시 좌우스크롤 생기는 문제 수정

This commit is contained in:
thisgun committed 2021-05-14 15:47:12 +09:00
1 parent b03302794d
commit 138c07b276
1 file changed
+6
+6
View File
@@ -104,6 +104,12 @@ $.fn.imgLoad = function(callback) {
}
}
if(win_w < screen.width) {
if(window.outerWidth){
win_w = win_w + (window.outerWidth - (document.documentElement.clientWidth || window.innerWidth));
}
}
window.moveTo(win_l, win_t);
window.resizeTo(win_w, win_h);
});