File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ private Content getNavigationSection() {
177177 // Keyboard Navigation
178178 section = newHelpSection (contents .getContent ("doclet.help.keyboard_navigation.title" ),
179179 HtmlIds .HELP_KEYBOARD_NAVIGATION );
180- var keyboardPara = HtmlTree .P (contents .getContent ("doclet.help.keyboard_navigation.intro" ));
180+ section . add ( HtmlTree .P (contents .getContent ("doclet.help.keyboard_navigation.intro" ) ));
181181 var keyboardList = HtmlTree .UL ();
182182 if (options .createIndex ()) {
183183 keyboardList .add (HtmlTree .LI (contents .getContent ("doclet.help.keyboard_navigation.index" ,
@@ -192,7 +192,7 @@ private Content getNavigationSection() {
192192 HtmlTree .KBD (Entity .of ("uparrow" )))));
193193 keyboardList .add (HtmlTree .LI (contents .getContent ("doclet.help.keyboard_navigation.tabs" ,
194194 HtmlTree .KBD (Entity .of ("leftarrow" )), HtmlTree .KBD (Entity .of ("rightarrow" )))));
195- navSection .add (section .add (keyboardPara . add ( keyboardList ) ));
195+ navSection .add (section .add (keyboardList ));
196196
197197 tableOfContents .popNestedList ();
198198
You can’t perform that action at this time.
0 commit comments