통합검색 페이지 오류 수정.

master
강석 최 2021-12-28 19:10:51 +09:00
parent ae616b5fbd
commit 09434e72aa
1 changed files with 4 additions and 2 deletions

View File

@ -5,8 +5,10 @@ $(function (){
}); });
}) })
$(document).on('click', '.categoryTr', function (){ $(document).on('click', '.categoryTr', function (){
if(confirm(this.innerText+" 페이지로 이동하시겠습니까?")){ if(location.pathname.indexOf("contentSearch")<0){
location.href = "/board/contentList?categorySeq="+$(this).attr("data-categoryseq") if(confirm(this.innerText+" 페이지로 이동하시겠습니까?")){
location.href = "/board/contentList?categorySeq="+$(this).attr("data-categoryseq")
}
} }
}) })
$(document).on('click', '.contentTr', function (){ $(document).on('click', '.contentTr', function (){