mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
Replace hasSession by isConnected
This commit is contained in:
@@ -55,7 +55,7 @@ define([
|
||||
throw "You must define a websocket url";
|
||||
}
|
||||
|
||||
if (false === WSConnection.hasSession()) {
|
||||
if (false === WSConnection.isConnected()) {
|
||||
WSConnection.connect(options.wsurl);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user