diff --git a/hwe/css/board.css b/hwe/css/board.css index a6884e87..dd83ba73 100644 --- a/hwe/css/board.css +++ b/hwe/css/board.css @@ -46,4 +46,11 @@ .submitComment{ width:100%; +} + +.commentText{ + color:white; + background-color:transparent; + border:none; + padding:1px 5px; } \ No newline at end of file diff --git a/hwe/js/board.js b/hwe/js/board.js index 14c788fc..b5afaccb 100644 --- a/hwe/js/board.js +++ b/hwe/js/board.js @@ -125,7 +125,10 @@ function drawArticle(idx, articleObj){ if(e.which === 13){ $article.find('.submitComment').click(); } - }); + }); + $article.find('.inputCommentHeader').click(function(){ + $article.find('.commentText').focus(); + }) var $board = $('#board'); diff --git a/hwe/t_board.php b/hwe/t_board.php index 978f4e58..2827e080 100644 --- a/hwe/t_board.php +++ b/hwe/t_board.php @@ -100,7 +100,7 @@ var isSecretBoard = ; // -댓글 달기 +댓글 달기