fixed #1
This commit is contained in:
parent
af13200158
commit
d80073d715
@ -21,8 +21,9 @@
|
|||||||
$( document ).ready(function() {
|
$( document ).ready(function() {
|
||||||
|
|
||||||
$('a').each(function(idx, el){
|
$('a').each(function(idx, el){
|
||||||
if($(el).attr('href').match("magnet:?")){
|
var $el = $(el);
|
||||||
$(el).before('<img class="718link" src="https://chocolatey.org/content/packageimages/transmission.2.92.svg" height=24 width=24 data-link="'+$(el).attr('href')+'"/>')
|
if($el.attr('href') && $el.attr('href').match("magnet:?")){
|
||||||
|
$el.before('<img class="718link" src="https://chocolatey.org/content/packageimages/transmission.2.92.svg" height=24 width=24 data-link="'+$el.attr('href')+'"/>')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user