Close call at JFK airport

A passenger plane nearly tried to land on a runway that another plane was getting ready to take off from.

An in-bound Volaris flight from Mexico was the plane attempting to land.  A Delta regional flight was already on the runway and cleared for takeoff.

The Delta pilot alerted air traffic controllers.  They. in turn, warned the Volaris pilot that he was lining up to land on the wrong runway.

It was unclear how close the planes were to hitting.  The FAA is investigating.