Plastic clog maker Crocs has recovered from a net loss of $30.3m in the second quarter of last year, on the back of sales growth in wholesale, retail and online.