mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-20 16:01:55 +01:00
Make newly added tag clickable
This commit is contained in:
parent
77a81b7a2f
commit
6618b8b4e3
@ -79,7 +79,7 @@ $(function(){
|
|||||||
|
|
||||||
if (!tags[normalized]) {
|
if (!tags[normalized]) {
|
||||||
var tag = $('<span><a></a></span>');
|
var tag = $('<span><a></a></span>');
|
||||||
tag.find('a').text(normalized);
|
tag.find('a').text(normalized).attr('href','/tag/' + normalized);
|
||||||
$('.tags').prepend(', ');
|
$('.tags').prepend(', ');
|
||||||
$('.tags').prepend(tag);
|
$('.tags').prepend(tag);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user