Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 1f5584f

Browse files
author
Adriaan Moors
committed
Merge pull request scala#582 from heathermiller/scaladoc/keyboard-shortcuts
Fix SI-5055 (for real). Implement keyboard shortcuts in Scaladoc. Browsing is fun again!
2 parents df3689f + 6296e32 commit 1f5584f

File tree

5 files changed

+276
-166
lines changed

5 files changed

+276
-166
lines changed

src/compiler/scala/tools/nsc/doc/html/page/Index.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Index(universe: doc.Universe, index: doc.Index) extends HtmlPage {
4444
</div>
4545
{ browser }
4646
<div id="content" class="ui-layout-center">
47-
<iframe name="template" src={ relativeLinkTo{List("package.html")} }/>
47+
<iframe id="template" src={ relativeLinkTo{List("package.html")} }/>
4848
</div>
4949
</body>
5050

src/compiler/scala/tools/nsc/doc/html/page/Template.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class Template(universe: doc.Universe, tpl: DocTemplateEntity) extends HtmlPage
8787
{ memberToCommentHtml(tpl, true) }
8888

8989
<div id="mbrsel">
90-
<div id='textfilter'><span class='pre'/><span class='input'><input type='text' accesskey='/'/></span><span class='post'/></div>
90+
<div id='textfilter'><span class='pre'/><span class='input'><input id='mbrsel-input' type='text' accesskey='/'/></span><span class='post'/></div>
9191
{ if (tpl.linearizationTemplates.isEmpty && tpl.conversions.isEmpty) NodeSeq.Empty else
9292
<div id="order">
9393
<span class="filtertype">Ordering</span>

0 commit comments

Comments
 (0)