Livingston's Marc McNulty struck deep into injury time to deny Partick Thistle victory at Almondvale.
Jags striker Kris Doolan opened the scoring after 25 minutes, diverting Steven Craig's cross past Andrew McNeil from a narrow angle.
Livi levelled through Anthony Andreu's long-range shot but Craig soon powered Aaron Sinclair's cross into the roof of the net to restore Thistle's advantage.
Jordan Morton's 87th-minute free-kick curled against the visitors' crossbar and Partick's Sean Welsh was then shown a red card for a tackle on Andreu.
And McNulty grabbed a last-gasp leveller for the hosts.
Livingston: McNeil, McCann, Barr,Garcia Tena, Booth, Andreu, O'Brien, Fox (Mullen 66), Iain Russell (Morton 57), McNulty, Scougall. Subs Not Used: Jamieson, Fordyce, McDonald.
Goals: Andreu 29, McNulty 90.
Partick: Smith, Muirhead, Balatoni, Archibald, Sinclair, Forbes (Lawless 88), Paton, Bannigan, Doolan (Erskine 73), Welsh, Craig (McGuigan 81). Subs Not Used: Fox, Murray.
Sent Off: Welsh (89). Booked: Paton, Bannigan.
Goals: Doolan 25, Craig 32.
Ref: George Salmond