Index: src/hg/hgc/hgc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgc.c,v
retrieving revision 1.1595
retrieving revision 1.1596
diff -b -B -U 4 -r1.1595 -r1.1596
--- src/hg/hgc/hgc.c	28 Jan 2010 00:20:16 -0000	1.1595
+++ src/hg/hgc/hgc.c	17 Feb 2010 19:35:49 -0000	1.1596
@@ -18244,9 +18244,8 @@
            "hgta_doSchema=describe+table+schema\" TARGET=_BLANK>"
            "View table schema</A></P>\n",
            database, ct->tdb->grp, ct->tdb->tableName, ct->tdb->tableName,
            seqName, winStart+1, winEnd);
-    printTrackUiLink(ct->tdb);
     }
 else if (ct->dbTrack && sameString(ct->dbTrackType, "maf"))
     {
     struct sqlConnection *conn = hAllocConn(CUSTOM_TRASH);
@@ -18327,8 +18326,9 @@
 		start, fileName);
     printCustomUrl(ct->tdb, itemName, TRUE);
     bedPrintPos(bed, ct->fieldCount, NULL);
     }
+printTrackUiLink(ct->tdb);
 if (ct->dbTrack)
     {
     struct sqlConnection *conn = hAllocConn(CUSTOM_TRASH);
     char *date = firstWordInLine(sqlTableUpdate(conn, ct->dbTableName));

