Skip to content

Commit

Permalink
Fix double connect in selection
Browse files Browse the repository at this point in the history
  • Loading branch information
agsh committed Feb 6, 2017
1 parent 2b90008 commit 220085f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
divSocket.disconnect();
}
console.log(this.value);
divSocket = io(location.origin + this.value).connect();
divSocket = io(location.origin + this.value);
divSocket.on('data', function(data) {
var bytes = new Uint8Array(data);
image.src = 'data:image/jpeg;base64,' + base64ArrayBuffer(bytes);
Expand Down

0 comments on commit 220085f

Please sign in to comment.