Skip to content

Commit

Permalink
Merge pull request cherry-game#26 from kyochou/master
Browse files Browse the repository at this point in the history
fix: 修改用户名称不生效
  • Loading branch information
phantacix authored Apr 26, 2024
2 parents c746028 + f3bc37a commit 375bec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/demo_chat/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
var inputMsg = $("#inputMsg").val();

pomelo.notify('room.room.syncMessage', {
name: nickname,
name: $("#nickname").val(),
content: inputMsg
});

Expand Down Expand Up @@ -89,4 +89,4 @@

</script>
</body>
</html>
</html>

0 comments on commit 375bec3

Please sign in to comment.