Skip to content

Commit 296e950

Browse files
committed
Fix expansion on click for "Full Signature" element
1 parent c608dfc commit 296e950

File tree

1 file changed

+6
-1
lines changed
  • src/scaladoc/scala/tools/nsc/doc/html/resource/lib

1 file changed

+6
-1
lines changed

src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,15 @@ $(document).ready(function() {
275275
}
276276
};
277277

278-
$(".toggleContainer:not(.diagram-container)").click(function() {
278+
$(".toggleContainer:not(.diagram-container):not(.full-signature-block)").click(function() {
279279
toggleShowContentFct($(this));
280280
});
281281

282+
$(".toggleContainer.full-signature-block").click(function() {
283+
toggleShowContentFct($(this));
284+
return false;
285+
});
286+
282287
if ($("#order > ol > li.group").length == 1) { orderGroup(); };
283288

284289
function findElementByHash(locationHash) {

0 commit comments

Comments
 (0)