From 9228510834cef091c1d9d224b2ffbcb1e4dfb735 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 29 Jan 2019 23:46:47 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8C=93=EA=B8=80=20=EC=9E=85=EB=A0=A5?= =?UTF-8?q?=EB=8F=84=20=ED=88=AC=EB=AA=85=ED=95=98=EA=B2=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/css/board.css | 7 +++++++ hwe/js/board.js | 5 ++++- hwe/t_board.php | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) 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 = ; // -댓글 달기 +댓글 달기