diff --git a/src/main/resources/static/js/board/contentList.js b/src/main/resources/static/js/board/contentList.js index 19d9921..1854ef5 100644 --- a/src/main/resources/static/js/board/contentList.js +++ b/src/main/resources/static/js/board/contentList.js @@ -77,20 +77,17 @@ function getBoardContent(contentSeq){ } function getBoardLog(contentSeq){ if(contentSeq !== undefined){ - const viewContentSeq = $("#logViewContentSeq").val(); - if(contentSeq !== viewContentSeq){ - $.ajax({ - url: '/board/selectBoardLog', - data: {contentSeq: contentSeq}, - type: 'GET', - dataType:"html", - success: function(html){ - $("#logDiv").empty().append(html) - }, - error:function(){ + $.ajax({ + url: '/board/selectBoardLog', + data: {contentSeq: contentSeq}, + type: 'GET', + dataType:"html", + success: function(html){ + $("#logDiv").empty().append(html) + }, + error:function(){ - } - }); - } + } + }); } } \ No newline at end of file diff --git a/src/main/resources/templates/board/contentLog.html b/src/main/resources/templates/board/contentLog.html index 7aab1f4..0b85b90 100644 --- a/src/main/resources/templates/board/contentLog.html +++ b/src/main/resources/templates/board/contentLog.html @@ -1,7 +1,6 @@