loleaflet: connect() was actually renamed to initialize().
This commit is contained in:
parent
c8ea8bcacd
commit
ed3be25e01
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ L.Socket = L.Class.extend({
|
|||
sendMessage: function (msg, coords) {
|
||||
var socketState = this.socket.readyState;
|
||||
if (socketState === 2 || socketState === 3) {
|
||||
this.connect(this._map);
|
||||
this.initialize(this._map);
|
||||
this._msgQueue.push({msg: msg, coords: coords});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue