We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31de0ee commit 7ff9780Copy full SHA for 7ff9780
src/index.js
@@ -27,7 +27,7 @@ export default function (url, opts) {
27
};
28
29
$.reconnect = function (e) {
30
- (num++ < max) ? setTimeout(_ => {
+ (num++ < max) ? setTimeout(function () {
31
(opts.onreconnect || noop)(e);
32
$.open();
33
}, opts.timeout || 1e3) : (opts.onmaximum || noop)(e);
0 commit comments