Leeds remain firmly in the hunt for automatic promotion after a hard-earned 2-1 win at home to Blackburn.
However, their fans were again made to sweat for the points, despite having led 2-0.
Despite Derrick Williams notching for Rovers, Leeds held on to remain third and stay just two points behind leaders West Brom.
Stuart Dallas registered the game's first effort although his attempt was well off target after being put in down the left flank.
Despite both sides stringing together some neat exchanges, both were also heavily guilty of giving away possession too cheaply.
Northern Ireland international Dallas then fashioned another chance on 23 minutes when he latched onto a ball and continued his central run before firing over the Blackburn crossbar.
Bamford stepped up to take the spot-kick and would have felt a sense of relief as he coolly slotted home to not only put the hosts in front, but also end a barren personal 10-game spell without a goal.
And it got even better for the hosts when Bamford played his part in a superb second goal just a few moments later.
The forward latched the ball out of the air, controlled it and laid it into the path of Harrison, whose stroked effort went in off a post.
The feelgood factor around Elland Road evaporated slightly just before half-time when Stewart Downing's corner was met with a planted header from Williams, who halved the deficit.
Harrison produced the first chance of the second half when he was played in down the left-hand side of the Blackburn box but could only blaze his shot over.
Harrison was in the thick of the action and saw two shots blocked by a dogged away defence just after the hour mark as Leeds upped the ante in search of a third.
A Leeds corner on 74 minutes almost saw them squeeze in another but an almighty scramble allowed Blackburn to somehow clear their lines.
Blackburn were still in the game but goalscorer Williams fired off target after good work from Bradley Dack in a rare second-half effort from them.
Leeds could have sealed the win with a classy third from a quick counter-attack but again Harrison was off target.
Given Leeds' habit of failing to kill off teams at home, the majority of the crowd were understandably cautious at such a slender advantage but the hosts just managed to hold on for another precious win.