فهرست منبع

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();
   }
   
   /**