Преглед изворни кода

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

Added fix for TOC auto hide
Stephen Ficklin пре 6 година
родитељ
комит
8175065ecd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tripal/theme/js/tripal.js

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

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