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 () {
|
||||
if (self._subs) {
|
||||
self._remote.request_subscribe()
|
||||
.books([self.to_json()], true)
|
||||
.request();
|
||||
self._subscribe();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user