Skip to content

Commit

Permalink
fix(test): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed Jan 4, 2020
1 parent 5260d51 commit 9d191f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/strategies/rutracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = class Rutracker
name: topicTitle,
poster: $('.post_body .postImgAligned').attr('title') || $('.post_body .postImg').attr('title'),
description: $('.post_body').first().text(),
rutrackerThreadId: parseInt($('a.magnet-link-1').attr('data-topic_id')),
rutrackerThreadId: parseInt($('a.magnet-link').attr('data-topic_id')) || parseInt($('a.magnet-link-1').attr('data-topic_id')),
contentCategory
}
}
Expand Down

0 comments on commit 9d191f6

Please sign in to comment.