fix: remove alert() from bizstyle js.

change: overkilled breadcrumb stripping.
This commit is contained in:
Takayuki Shimizukawa 2014-10-09 22:41:32 +09:00
parent 4aa4d08a0a
commit 20d55bd5b6

View File

@ -19,16 +19,14 @@ $(document).ready(function(){
if (item.text.length > 20) {
var tmpstr = item.text
$(item).attr("title", tmpstr);
$(item).text(tmpstr.substr(0, 5) + "...");
alert(i + ":" + item.text + ":" + $(item).attr("title") + ":" + $(item).size());
$(item).text(tmpstr.substr(0, 17) + "...");
}
});
$("div.related:last ul li:not(.right) a").slice(1).each(function(i, item){
if (item.text.length > 20) {
var tmpstr = item.text
$(item).attr("title", tmpstr);
$(item).text(tmpstr.substr(0, 5) + "...");
alert(i + ":" + item.text + ":" + $(item).attr("title") + ":" + $(item).size());
$(item).text(tmpstr.substr(0, 17) + "...");
}
});
});