1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-10 14:14:25 +00:00

gui: fix imdbid button on dashboard search result rows

3rd time's the charm.
This commit is contained in:
Garfield69 2021-10-21 18:12:29 +13:00
parent 8af73f1bc4
commit 4d13c14f1d
2 changed files with 3 additions and 3 deletions

View file

@ -971,7 +971,7 @@ function updateReleasesRow(row) {
labels.empty();
if (IMDBId) {
var imdbLen = (IMDBId.length > 7) ? 8 : 7
var imdbLen = (IMDBId.toString().length > 7) ? 8 : 7;
labels.append('\n<a href="https://www.imdb.com/title/tt' + ("00000000" + IMDBId).slice(-imdbLen) + '/" class="label label-imdb" alt="IMDB" title="IMDB">IMDB</a>');
}

View file

@ -732,6 +732,6 @@
</script>
<script type="text/javascript" src="../libs/api.js?changed=2017083001"></script>
<script type="text/javascript" src="../custom.js?changed=2021102201"></script>
<script type="text/javascript" src="../custom.js?changed=2021102204"></script>
</body>
</html>