Skip to content

Commit

Permalink
fixup animenzb
Browse files Browse the repository at this point in the history
  • Loading branch information
thezoggy committed Feb 2, 2025
1 parent 5afbec0 commit 3bf4efd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/content/animenzb.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function addToSABnzbdFromAnimenzb() {
var addLink = this;

// Set the image to an in-progress image
var img = chrome.extension.getURL('images/content_icon_fetching.png');
var img = chrome.runtime.getURL('images/content_icon_fetching.png');
var nzburl = this.href;

var category = null;
Expand All @@ -20,7 +20,7 @@ function handleAllDownloadLinks() {
// Find all Table Rows - $('td.file > a[type="application/x-nzb"]').parent().parent()
// Find all Download links - $('td.file > a[type="application/x-nzb"]')
$('td.file > a[type="application/x-nzb"]').each(function() {
var img = chrome.extension.getURL('/images/content_icon.png');
var img = chrome.runtime.getURL('/images/content_icon.png');
var href = $(this).attr('href');
var link = '<a class="addSABnzbd" href="' + href + '"><img title="Send to SABnzbd" src="' + img + '" /></a>&nbsp;';
$(this).before(link);
Expand Down

0 comments on commit 3bf4efd

Please sign in to comment.