Browse Source

Merge pull request #696 from tripal/tv3-toc-ajax_fix

Added fix for TOC auto hide
Stephen Ficklin 6 years ago
parent
commit
8175065ecd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal/theme/js/tripal.js

+ 1 - 1
tripal/theme/js/tripal.js

@@ -73,7 +73,7 @@
     pane.remove();
     pane.remove();
     
     
     // Remove the pane's title from the TOC.
     // Remove the pane's title from the TOC.
-    $('#' + this.id).hide(0);
+    $('#' + this.id).parents('.views-row').remove();
   }
   }
   
   
   /**
   /**