From d93ab70b4769280827d1e772b82022ef43105f0c Mon Sep 17 00:00:00 2001 From: Gilles Dubochet Date: Thu, 15 Jul 2010 14:13:03 +0000 Subject: [scaladoc] Full comments with "by inheritance" ... [scaladoc] Full comments with "by inheritance" ordering are correctly displayed. No review. --- src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css | 5 +---- src/compiler/scala/tools/nsc/doc/html/resource/lib/template.js | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css b/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css index 8399a6abe8..4ef29bf0cc 100644 --- a/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css +++ b/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.css @@ -317,11 +317,8 @@ div.fullcomment { margin: 10px 0 10px 0; } -#types div.fullcomment, #values div.fullcomment { - display:none -} - #template div.fullcomment { + display:none; margin: 6px 0 6px 8.7em; } diff --git a/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.js b/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.js index 6f01e56ddc..506edd7746 100644 --- a/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.js +++ b/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.js @@ -93,6 +93,7 @@ $(document).ready(function(){ orderInherit(); }; }); + initInherit(); //http://flowplayer.org/tools/tooltip.html $(".extype").tooltip({ tip: "#tooltip", @@ -114,7 +115,7 @@ $(document).ready(function(){ var docShowSigs = docAllSigs.filter(function(){ return $("+ div.fullcomment", $(this)).length > 0; }); - docShowSigs.css("cursor", "pointer"); + docShowSigs.css("cursor", "pointer"); docShowSigs.click(function(){ commentShowFct($("+ div.fullcomment", $(this))); }); @@ -140,7 +141,6 @@ $(document).ready(function(){ $("p.shortcomment").click(function(){ commentToggleFct($(this)); }); - initInherit(); }); function orderAlpha() { -- cgit v1.2.3