From d04f5f54d59d5630068c62ee1ccc6d62a6ac417d Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 21 Nov 2017 10:28:08 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=EC=97=90=EC=84=9C?= =?UTF-8?q?=20=EA=B8=80=EC=9E=90=20=ED=81=AC=EA=B8=B0=20=EC=A1=B0=EC=A0=95?= =?UTF-8?q?=20class=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/common.js | 6 +++++- mobile/head.php | 16 +++++++++++++--- theme/basic/mobile/head.php | 16 +++++++++++++--- 3 files changed, 31 insertions(+), 7 deletions(-) diff --git a/js/common.js b/js/common.js index 02ce71a7b..6a1bd75a1 100644 --- a/js/common.js +++ b/js/common.js @@ -540,7 +540,7 @@ $(function() { /** * 텍스트 리사이즈 **/ -function font_resize(id, rmv_class, add_class) +function font_resize(id, rmv_class, add_class, othis) { var $el = $("#"+id); @@ -548,6 +548,10 @@ function font_resize(id, rmv_class, add_class) set_cookie("ck_font_resize_rmv_class", rmv_class, 1, g5_cookie_domain); set_cookie("ck_font_resize_add_class", add_class, 1, g5_cookie_domain); + + if(typeof othis !== "undefined"){ + $(othis).addClass('select').siblings().removeClass('select'); + } } /** diff --git a/mobile/head.php b/mobile/head.php index d07c45b33..40c34914c 100644 --- a/mobile/head.php +++ b/mobile/head.php @@ -133,14 +133,24 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
- - - + + +