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 (){