Add link to practice page

This commit is contained in:
Charles Gould 2017-10-16 00:16:59 -04:00
parent 9518780e51
commit 07ff8bb03e
2 changed files with 5 additions and 2 deletions

View File

@ -8,8 +8,10 @@ Lingo with WebSockets
## Launch server ## Launch server
`mvn -f server spring-boot:run` `mvn -f ./server/pom.xml spring-boot:run`
## Launch client ## Launch client
Navigate to <http://localhost:8080> Practice: <http://localhost:8080/practice.html>
Multiplayer: <http://localhost:8080>

View File

@ -281,6 +281,7 @@ function subscribeToPracticeReports() {
function subscribeToPracticeWordSkipped() { function subscribeToPracticeWordSkipped() {
client.subscribe('/user/topic/practiceWordSkipped', function(message) { client.subscribe('/user/topic/practiceWordSkipped', function(message) {
var firstLetter = message.body; var firstLetter = message.body;
lastWord = null;
reset(firstLetter, false); reset(firstLetter, false);
repaint(); repaint();
}); });