gui: open IMDB link in new tab (#12490)

This commit is contained in:
ilike2burnthing 2021-10-31 11:49:24 +00:00 committed by GitHub
parent 53424cd043
commit b3f4e41c72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -972,7 +972,7 @@ function updateReleasesRow(row) {
if (IMDBId) {
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>');
labels.append('\n<a href="https://www.imdb.com/title/tt' + ("00000000" + IMDBId).slice(-imdbLen) + '/" target="_blank" class="label label-imdb" alt="IMDB" title="IMDB">IMDB</a>');
}
if (!isNaN(DownloadVolumeFactor)) {

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=2021102204"></script>
<script type="text/javascript" src="../custom.js?changed=2021103101"></script>
</body>
</html>