mirror of
https://github.com/justinian/menagerie.git
synced 2025-12-11 00:54:33 -08:00
Add dino class as a link to the wiki in the info pane
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
|
||||
$( '#dinoWorldName' ).html(row.world);
|
||||
$( '#dinoId' ).html(row.dino_id);
|
||||
$( '#dinoClass' ).html(row.class_name);
|
||||
$( '#dinoClass' ).html(`<a target="_blank" href="https://ark.wiki.gg/wiki/${row.class_name}">${row.class_name}</a>`);
|
||||
|
||||
if (row.is_cryo) {
|
||||
if (row.parent_name) {
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
|
||||
$( '#dinoWorldName' ).html(row.world);
|
||||
$( '#dinoId' ).html(row.dino_id);
|
||||
$( '#dinoClass' ).html(`<a target="_blank" href="https://ark.wiki.gg/wiki/${row.class_name}">${row.class_name}</a>`);
|
||||
|
||||
for (var i = 0; i < 6; i++) {
|
||||
var id = "#dinoColor" + i;
|
||||
@@ -176,6 +177,11 @@
|
||||
<td id="dinoId"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Class</th>
|
||||
<td id="dinoClass"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user