Skip to content

Commit 51bc89c

Browse files
author
Paul Sokolovsky
committed
webrepl.html: Enable url autocomplete support by making a real form.
1 parent c6f27d2 commit 51bc89c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

webrepl.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@
3636
<script src="term.js"></script>
3737
</head>
3838
<body>
39-
<input type="text" id="url" value="ws://192.168.4.1:8266/" />
40-
<input type="button" id="button" value="Connect" onclick="button_click()" />
39+
<form>
40+
<input type="text" name="webrepl_url" id="url" value="ws://192.168.4.1:8266/" />
41+
<input type="submit" id="button" value="Connect" onclick="button_click(); return false;" />
42+
</form>
4143
<div id="term">
4244
</div>
4345
<br clear="both" />

0 commit comments

Comments
 (0)