mirror of
https://github.com/MetinSeylan/Vue-Socket.io.git
synced 2025-04-16 15:21:28 +02:00
Fix #166
This commit is contained in:
parent
73a0d32d36
commit
1f33e87192
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ export default class VueSocketIO {
|
|||
*/
|
||||
connect(connection){
|
||||
|
||||
if(connection && typeof connection === 'object' && connection.constructor.name === 'Socket'){
|
||||
if(connection && typeof connection === 'object'){
|
||||
|
||||
Logger.info('Received socket.io-client instance');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue