Переглянути джерело

Added fix for TOC auto hide

Stephen Ficklin 6 роки тому
батько
коміт
040cf95d2e
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();
   }
   
   /**