From 21eaa1962d09afd2d1c2b538f59fc9495f3e93be Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 17 Sep 2013 12:52:55 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8F=B0=ED=8A=B8=20=EC=82=AC=EC=9D=B4?= =?UTF-8?q?=EC=A6=88=20=EB=B3=80=EA=B2=BD=20=ED=9B=84=20=EA=B8=B0=EB=B3=B8?= =?UTF-8?q?=ED=81=AC=EA=B8=B0=20=EC=84=A4=EC=A0=95=20=EC=8B=9C=20line-heig?= =?UTF-8?q?ht=20=EC=84=A4=EC=A0=95=20=EB=AC=B8=EC=A0=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/common.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/js/common.js b/js/common.js index 8922f3e2e..fc4e51f24 100644 --- a/js/common.js +++ b/js/common.js @@ -400,16 +400,11 @@ function font_resize(id, act) var $elements = $("#"+id+" *").not("select").not("option"); $elements.removeClass("applied"); - // container의 기본 line-height 저장 - if(!default_line_height_saved) { - $("#"+id+" *").data("lh", $("#"+id+" *").css("line-height")); - default_line_height_saved = true; - } - // 폰트 크기 변경에 따른 line-height 적용 var lh = 1.5; if(act == "default") - lh = $("#"+id+" *").data("lh"); + lh = "" + $("#"+id+" *").css("line-height", lh); // 엘리먼트의 기본 폰트사이즈 저장