A dog left with a broken ankle following a scooter hit-and-run has been given lifechanging surgery following a grand gesture from well-wishers.