Cardiff boss Malky Mackay hailed the resilience of his side after they pulled off a last-gasp win at Fulham in the Premier League on Saturday.