Clean some code that make crawlers unhappy

This commit is contained in:
Michael Muré 2015-02-15 22:01:22 +01:00
parent 5fed2e678c
commit b9a802163b
2 changed files with 8 additions and 8 deletions

View file

@ -12405,10 +12405,10 @@ var list = "<table>";
for(i = 0; i < janin.currencies.length; i++) { for(i = 0; i < janin.currencies.length; i++) {
if(janin.currencies[i].donate == null) if(janin.currencies[i].donate == null)
continue; continue;
list += "<tr onmouseover='ninja.wallets.donate.displayQrCode("+i+", this)'>" list += "<tr onmouseover='ninja.wallets.donate.displayQrCode("+i+", this)'>";
+"<td class='currencyNameColumn'>"+janin.currencies[i].name+"</td>" list += "<td class='currencyNameColumn'>"+janin.currencies[i].name+"</td>";
+"<td class='address'><a href='"+janin.currencies[i].name.toLowerCase()+":"+janin.currencies[i].donate+"'>" list += "<td class='address'><a href='"+janin.currencies[i].name.toLowerCase()+":"+janin.currencies[i].donate+"'>";
+janin.currencies[i].donate+"</a></td></tr>"; list += janin.currencies[i].donate+"</a></td></tr>";
} }
list += "</table>"; list += "</table>";
donatelist.innerHTML = list; donatelist.innerHTML = list;

View file

@ -51,10 +51,10 @@ var list = "<table>";
for(i = 0; i < janin.currencies.length; i++) { for(i = 0; i < janin.currencies.length; i++) {
if(janin.currencies[i].donate == null) if(janin.currencies[i].donate == null)
continue; continue;
list += "<tr onmouseover='ninja.wallets.donate.displayQrCode("+i+", this)'>" list += "<tr onmouseover='ninja.wallets.donate.displayQrCode("+i+", this)'>";
+"<td class='currencyNameColumn'>"+janin.currencies[i].name+"</td>" list += "<td class='currencyNameColumn'>"+janin.currencies[i].name+"</td>";
+"<td class='address'><a href='"+janin.currencies[i].name.toLowerCase()+":"+janin.currencies[i].donate+"'>" list += "<td class='address'><a href='"+janin.currencies[i].name.toLowerCase()+":"+janin.currencies[i].donate+"'>";
+janin.currencies[i].donate+"</a></td></tr>"; list += janin.currencies[i].donate+"</a></td></tr>";
} }
list += "</table>"; list += "</table>";
donatelist.innerHTML = list; donatelist.innerHTML = list;