Sfoglia il codice sorgente

removed href to full thumbnail

bvj 4 anni fa
parent
commit
49a50e6e82
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      main.js

+ 1 - 1
main.js

@@ -57,7 +57,7 @@ define([
             output += `<br><a href="${cfg.micka_url}record/basic/${entry.id}" target="_blank" title="Full MD Record">MD Record</a>`;
             output += entry.abstract.length > 0 ? `<br>Abstract: ${entry.abstract}` : '';
             output += entry.bbox.length > 0 ? `<br>Boundig box: ${entry.bbox}` : '';
-            output += entry.imgURL ? `<details><summary>Thumbnail</summary><a href="${entry.imgURL}" target="_blank" title="Full size image"><img src="${entry.imgURL}" width="200"></a></details>` : '';
+            output += entry.imgURL ? `<details><summary>Thumbnail</summary><img src="${entry.imgURL}" width="200"></details>` : '';
             var links = '';
             entry.links.forEach(function(link) {
                 links += `<li>${link.url}</li>`;