diff options
Diffstat (limited to 'views/predicted_targets.haml')
-rw-r--r-- | views/predicted_targets.haml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/views/predicted_targets.haml b/views/predicted_targets.haml index 97c68c4..6abd4c1 100644 --- a/views/predicted_targets.haml +++ b/views/predicted_targets.haml @@ -6,7 +6,11 @@ = assay["Target GI"] %dd Assay ID: - %a{:href => "http://pubchem.ncbi.nlm.nih.gov/assay/assay.cgi?aid=#{assay["AID"]}"} #{assay["AID"]} + %a{:href => "http://pubchem.ncbi.nlm.nih.gov/assay/assay.cgi?aid=#{assay["AID"]}", :rel => "_blank"} #{assay["AID"]} + :javascript + $('A[rel="_blank"]').each(function(){ + $(this).attr('target', '_blank'); + }); %dd p_active: = assay["p_active"].to_f.round(3) |