Skip to content

Commit

Permalink
Remove target="_blank" for normal links within PanKB
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalaldo committed Dec 11, 2024
1 parent a62c725 commit a5bae17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/components/panel_locustags_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@
{
data: 'genome_id',
render: function(data, type, row) {
return '<a href="{% url 'genome_info' %}?species={{request.GET.species|safe}}&genome_id=' + encodeURIComponent(data) + '" target="_blank">' + data + '</a>';
return '<a href="{% url 'genome_info' %}?species={{request.GET.species|safe}}&genome_id=' + encodeURIComponent(data) + '">' + data + '</a>';
},
},
{% else %}
{
data: 'gene',
render: function(data, type, row) {
return '<a href="{% url 'gene_info' %}?species={{request.GET.species|safe}}&gene=' + encodeURIComponent(data) + '" target="_blank">' + data + '</a>';
return '<a href="{% url 'gene_info' %}?species={{request.GET.species|safe}}&gene=' + encodeURIComponent(data) + '">' + data + '</a>';
},
},
{% endif %}
Expand Down

0 comments on commit a5bae17

Please sign in to comment.