소스 검색

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