File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,11 @@ async function load() {
66
66
window .addEventListener (' load' , load);
67
67
</script >
68
68
69
- <input id =' input_u ' type =' text ' placeholder =' username ' style =' margin :4px ;' /><br />
70
- <input id =' input_p ' type =' password ' placeholder =' password ' style =' margin :4px ;' /><br />
71
- <button id =' submit_up ' class =' whitebutton ' style =' margin :4px ;' >Submit</button >
72
-
69
+ <form onsubmit =" event .preventDefault ()" >
70
+ <input id='input_u' type='text' placeholder='username' style='margin:4px;'><br />
71
+ <input id='input_p' type='password' placeholder='password' style='margin:4px;'><br />
72
+ <button id='submit_up' class='whitebutton' style='margin:4px;' >Submit</button>
73
+ </form >
73
74
<br />
74
75
<button id =' submit_localhost ' class =' whitebutton ' style =' margin :4px ; display : none ;' >Login as default user (on localhost)</button >
75
76
You can’t perform that action at this time.
0 commit comments