From 4986ab3286005c20530c9d146d751c2a3e07edc7 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 6 Mar 2013 13:27:13 +0900 Subject: [PATCH] =?UTF-8?q?#335=20=EC=97=90=20=EB=94=B0=EB=A5=B8=20?= =?UTF-8?q?=EC=9C=A0=ED=9A=A8=EC=84=B1=20=EB=B3=80=EA=B2=BD=20=EC=88=9C?= =?UTF-8?q?=EC=84=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/wrest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/wrest.js b/js/wrest.js index 6957d6094..c0070ae4e 100644 --- a/js/wrest.js +++ b/js/wrest.js @@ -22,12 +22,12 @@ function wrestItemname(fld) var text = el.innerHTML.replace(/[<].*[>].*[<]\/+.*[>]/gi, ""); if(text == '') { - return fld.getAttribute("title") ? fld.getAttribute("title") : ( fld.getAttribute("alt") ? fld.getAttribute("alt") : fld.name ); + return fld.getAttribute("title") ? fld.getAttribute("title") : ( fld.getAttribute("placeholder") ? fld.getAttribute("placeholder") : fld.name ); } else { return text; } } else { - return fld.getAttribute("title") ? fld.getAttribute("title") : ( fld.getAttribute("alt") ? fld.getAttribute("alt") : fld.name ); + return fld.getAttribute("title") ? fld.getAttribute("title") : ( fld.getAttribute("placeholder") ? fld.getAttribute("placeholder") : fld.name ); } }