Template:Team:Waterloo/JS/CiteTag

From 2014.igem.org

(Difference between revisions)
Line 6: Line 6:
   $( "cite" ),
   $( "cite" ),
   function( citeTag ) {
   function( citeTag ) {
-
     citeTag.val( "<a>[" + $( "#Citation_" + citeTag.attr("ref") ).attr("index") + "]</a" );
+
     citeTag.val( "<a>" + $( "#Citation_" + citeTag.attr("ref") ).val() + "</a>" );
   }
   }
);
);

Revision as of 23:21, 8 October 2014