From 138c07b2768f9d6795125612e717374513b19b32 Mon Sep 17 00:00:00 2001 From: thisgun Date: Fri, 14 May 2021 15:47:04 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=20=EC=9D=B4?= =?UTF-8?q?=EB=AF=B8=EC=A7=80=20=EC=83=88=EC=B0=BD=EC=97=B4=EA=B8=B0?= =?UTF-8?q?=EC=8B=9C=20=EC=A2=8C=EC=9A=B0=EC=8A=A4=ED=81=AC=EB=A1=A4=20?= =?UTF-8?q?=EC=83=9D=EA=B8=B0=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/view_image.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bbs/view_image.php b/bbs/view_image.php index 6be5aedd0..c083a37e9 100644 --- a/bbs/view_image.php +++ b/bbs/view_image.php @@ -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); });