Skip to content

Commit

Permalink
fix ctl-a to just work on output
Browse files Browse the repository at this point in the history
Signed-off-by: Doug Davis <[email protected]>
  • Loading branch information
duglin committed Dec 27, 2024
1 parent caf6578 commit 96d0c5d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions registry/httpStuff.go
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ func (pw *PageWriter) Done() {
list-style-type: circle ;
}
</style>
<body onkeydown=dokeydown(event)>
<body xxonkeydown=dokeydown(event)>
<div id=left>
<b>Registry:</b>
<select onchange="changeRegistry(value)">`+list+` </select>
Expand Down Expand Up @@ -717,13 +717,12 @@ function dokeydown(event) {
<div id=urlPath>
<b>Path:</b> `+urlPath+`
</div>
<div id=myOutput><div class=expandAll>
<div id=myOutput tabindex=0 onkeydown=dokeydown(event)><div class=expandAll>
<span class=expandBtn title="Collapse all" onclick=toggleExp(null,false)>`+HTML_MIN+`</span>
<span class=expandBtn title="Expand all" onclick=toggleExp(null,true)>`+HTML_EXP+`</span>
</div><div id='text'>%s</div></div> <!--myOutput-->
</div> <!--right-->
</body>
</html>
`, RegHTMLify(pw.Info.OriginalRequest, buf))))

Expand Down

0 comments on commit 96d0c5d

Please sign in to comment.