From 19a382832c9b65a75a857a07dff47725dd10c4d9 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 6 Mar 2013 14:06:39 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=ED=85=8D=EC=8A=A4=ED=8A=B8=20=EB=A6=AC?= =?UTF-8?q?=EC=82=AC=EC=9D=B4=EC=A6=88=20=EC=A0=81=EC=9A=A9=EC=8B=9C=20sel?= =?UTF-8?q?ect=20=EC=A0=9C=EC=99=B8=ED=95=98=EB=8A=94=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/common.js b/js/common.js index 1a58db3a4..57c2470e2 100644 --- a/js/common.js +++ b/js/common.js @@ -524,7 +524,7 @@ var win_poll = function(href) { **/ function font_resize(id, act) { - var $elements = $("#"+id+" *"); + var $elements = $("#"+id+" *").not("select").not("option"); $elements.removeClass("applied"); var count = parseInt(get_cookie("ck_font_resize_count")); if(isNaN(count)) From d93d8dc02cd51e699f59e3448743d82b20459223 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 6 Mar 2013 14:12:00 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EC=A3=BC=EC=84=9D=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/common.js b/js/common.js index 57c2470e2..25d3c0c06 100644 --- a/js/common.js +++ b/js/common.js @@ -539,14 +539,15 @@ function font_resize(id, act) } else { set_font_size($(this), act); - // 텍스트 노드가 있는 경우 부모에 스타일 적용 + // 텍스트 노드가 있는지 체크 var $parent = $(this).parent(); var text = $parent.contents().filter(function() { return this.nodeType == 3; }).text().replace(/\s*/, ""); if(text.length) { - // 텍스트노드와 형제가 있을 경우 마지막 형제엘리먼트에 스타일 적용 후 부모에 스타일 적용 + // 텍스트노드의 형제가 있을 경우 마지막 형제에 + // 스타일 적용 후 부모에 폰트 스타일 적용 var $child = $parent.children(); var chdlen = $child.length; if(chdlen == ($child.index($(this)) + 1)) {