Skip to content

Commit

Permalink
Fix peeringdb.js bug introduced in #784
Browse files Browse the repository at this point in the history
  • Loading branch information
David Poarch authored and vegu committed Mar 18, 2022
1 parent af3f760 commit 4431dc8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions peeringdb_server/static/peeringdb.js
Expand Up @@ -2236,10 +2236,10 @@ twentyc.editable.module.register(

var ixlnk = $('<a></a>');
if (data.status == "ok") {
faclnk.attr("href", "/ix/"+data.id);
ixlnk.attr("href", "/ix/"+data.id);
}
else {
faclnk.attr("style", "text-decoration: none;");
ixlnk.attr("style", "text-decoration: none;");
}
ixlnk.text(data.name);
row.find(".name").html(ixlnk);
Expand All @@ -2257,10 +2257,10 @@ twentyc.editable.module.register(

var netlnk = $('<a></a>');
if (data.status == "ok") {
faclnk.attr("href", "/net/"+data.id);
netlnk.attr("href", "/net/"+data.id);
}
else {
faclnk.attr("style", "text-decoration: none;");
netlnk.attr("style", "text-decoration: none;");
}
netlnk.text(data.name);
row.find(".name").html(netlnk);
Expand Down

0 comments on commit 4431dc8

Please sign in to comment.