인라인 스타일 제거를 removeAttr을 이용하도록 수정

This commit is contained in:
chicpro
2013-08-09 09:22:41 +09:00
parent 9dbdb840e7
commit 728f34f69e

View File

@ -32,7 +32,7 @@ $.fn.listType = function(type)
this.addClass("sct_40"); this.addClass("sct_40");
$el.each(function() { $el.each(function() {
if($(this).data("style")) { if($(this).data("style")) {
$(this).attr("style", ""); $(this).removeAttr("style");
} }
}); });