Skip to content

Commit 0f36634

Browse files
committed
Keep FlyBase links local for FlyQuery
1 parent 3d4f975 commit 0f36634

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎gocam_view/templates/gocam_view/index.html‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -900,12 +900,9 @@
900900
}
901901
const bits = id.split(":");
902902
if (bits.length == 2) {
903-
if (bits[0] == 'PomBase') {
903+
if (bits[0] == 'PomBase' || bits[0] == 'FB') {
904904
return `<a title="${title}" target="_blank" href="/gene/${bits[1]}">${label}</a>`;
905905
}
906-
if (bits[0] == 'FB') {
907-
return `<a title="${title}" target="_blank" href="https://www.flybase.org/reports/${bits[1]}">${label}</a>`;
908-
}
909906
if (bits[0] == 'CHEBI') {
910907
return `<a title="${title}" target="_blank" href="https://www.ebi.ac.uk/chebi/chebiOntology.do?chebiId=${id}">${label} (${id})</a>`;
911908
}

0 commit comments

Comments
 (0)