Skip to content

Commit

Permalink
[Fix]2048 userId 받기 테스트4
Browse files Browse the repository at this point in the history
  • Loading branch information
ChungO5 committed Jan 13, 2024
1 parent 5e4fc66 commit bf63d0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions game-server/src/main/resources/static/2048.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ var score;
var userId = null;
window.addEventListener("message", function (event) {
document.getElementById("receivedData").innerHTML = event.data;
document.getElementById("receivedData").textContent = event.data;
userId = event.data;
});

Expand Down

0 comments on commit bf63d0a

Please sign in to comment.