About 240,000 Elantra compacts will be recalled by the Hyundai Motor Co. for an airbag problem, the South Korean automaker said this week. A computer problem with its restraint system could improperly identify a child seat in the front passenger position as a seated adult, leading to deployment of the airbag in a crash and potential harm to the child in the seat.