From eeb7184ed492b8b6331b191ec5fb5404ae4696ef Mon Sep 17 00:00:00 2001 From: sdflysha Date: Wed, 28 Nov 2018 11:05:05 +0800 Subject: [PATCH] Update index2.ts (#9720) Fix typo --- .../signalr-typescript-webpack/sample/snippets/index2.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/tutorials/signalr-typescript-webpack/sample/snippets/index2.ts b/aspnetcore/tutorials/signalr-typescript-webpack/sample/snippets/index2.ts index 09e44c0781..0d9f532d78 100644 --- a/aspnetcore/tutorials/signalr-typescript-webpack/sample/snippets/index2.ts +++ b/aspnetcore/tutorials/signalr-typescript-webpack/sample/snippets/index2.ts @@ -18,7 +18,7 @@ connection.on("messageReceived", (username: string, message: string) => { let m = document.createElement("div"); m.innerHTML = - `
${username}
${message}
`; + `
${username}
${message}
`; divMessages.appendChild(m); divMessages.scrollTop = divMessages.scrollHeight; @@ -34,4 +34,4 @@ btnSend.addEventListener("click", send); function send() { } -// \ No newline at end of file +//