tripal_search.js 363 B

1234567891011121314
  1. //
  2. // Copyright 2009 Clemson University
  3. //
  4. if (Drupal.jsEnabled) {
  5. $(document).ready(function(){
  6. // Remove Download features hyperlink if no search result is returned
  7. // Disable the hyperlink for sequences in the interpro box
  8. if ($('.box h2').html() == 'Your search yielded no results') {
  9. $("#tripal_search_link").empty();
  10. }
  11. });
  12. }