mins = Math.floor(secs / 60);\r
secs = secs % 60;\r
if (mins > 0) {\r
- msg = f(data.attempts) + ' attempt at reconnecting in ' + mins + ' minute' + ((mins > 1) ? 's' : '') + ' , ' + secs + 'second' + (((secs > 1) || (secs === 0)) ? 's' : '') + '...';\r
+ msg = f(data.attempts) + ' attempt at reconnecting in ' + mins + ' minute' + ((mins > 1) ? 's' : '') + ', ' + secs + ' second' + (((secs > 1) || (secs === 0)) ? 's' : '') + '...';\r
} else {\r
msg = f(data.attempts) + ' attempt at reconnecting in ' + secs + ' second' + (((secs > 1) || (secs === 0)) ? 's' : '') + '...';\r
}\r