From 09434e72aab128c72816cce5436611b7c3a5cf36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Tue, 28 Dec 2021 19:10:51 +0900 Subject: [PATCH] =?UTF-8?q?=ED=86=B5=ED=95=A9=EA=B2=80=EC=83=89=20?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=98=A4=EB=A5=98=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 --- src/main/resources/static/js/board/contentList.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/static/js/board/contentList.js b/src/main/resources/static/js/board/contentList.js index d14b547..71c1bfb 100644 --- a/src/main/resources/static/js/board/contentList.js +++ b/src/main/resources/static/js/board/contentList.js @@ -5,8 +5,10 @@ $(function (){ }); }) $(document).on('click', '.categoryTr', function (){ - if(confirm(this.innerText+" 페이지로 이동하시겠습니까?")){ - location.href = "/board/contentList?categorySeq="+$(this).attr("data-categoryseq") + if(location.pathname.indexOf("contentSearch")<0){ + if(confirm(this.innerText+" 페이지로 이동하시겠습니까?")){ + location.href = "/board/contentList?categorySeq="+$(this).attr("data-categoryseq") + } } }) $(document).on('click', '.contentTr', function (){