Yeah, that 'mistake' was in the original.Emergency bulkheads closed just out of view.
Spock was being uncharacteristicly non speciific. The bridge WAS uninhabitable, but large parts of the rest of the ship were still okay---but clearly not ALL.
They mentioned emergency bulkheads several times in TOS, so they would have sealed off the 'open to space' areas.