mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 04:05:52 +00:00
JS: Fix orderbook subscribe on (re)connect.
This commit is contained in:
@@ -59,9 +59,7 @@ var OrderBook = function (remote,
|
|||||||
|
|
||||||
this._remote.on('connect', function () {
|
this._remote.on('connect', function () {
|
||||||
if (self._subs) {
|
if (self._subs) {
|
||||||
self._remote.request_subscribe()
|
self._subscribe();
|
||||||
.books([self.to_json()], true)
|
|
||||||
.request();
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user