We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39671e8 + 4e13cfb commit 3b9715eCopy full SHA for 3b9715e
Readme.md
@@ -104,10 +104,10 @@ io.sockets.on('connection', function (socket) {
104
var socket = io.connect('http://localhost');
105
106
socket.on('connect', function () {
107
- socket.emit('set nickname', confirm('What is your nickname?'));
+ socket.emit('set nickname', prompt('What is your nickname?'));
108
socket.on('ready', function () {
109
console.log('Connected !');
110
- socket.emit('msg', confirm('What is your message?'));
+ socket.emit('msg', prompt('What is your message?'));
111
});
112
113
</script>
0 commit comments