Changed instructions for 1ste line

This commit is contained in:
bitscuit 2021-03-13 10:18:27 +01:00
parent e67a331d33
commit 73abb990fe
1 changed files with 2 additions and 2 deletions

View File

@ -134,8 +134,8 @@ socket.on("WRITE", function(data){
}
page += "</div>";
page += "<p>Enter the next line.</p>";
page += "<input type='text' placeholder='The Next Line' id='input_write' /><br/>";
page += "<p>Enter the "+(data.lineNr == 1 ? "first" : "next")+" line.</p>";
page += "<input type='text' placeholder='The "+(data.lineNr == 1 ? "First" : "Next")+" Line' id='input_write' /><br/>";
page += "<p id='text_write_error' style='display: none; color: #BB2266; '></p>";
page += "<button id='button_ok' class='button button-primary' onclick='button_write()'><i class='fas fa-check'></i>&nbsp;&nbsp;&nbsp;Submit</button>";