It only needs approval from enough states to total 270 electoral votes among themselves to kick in, because those states will have pledged their electoral votes to the popular winner, even if the vote in any of those states favors another candidate. This is covered in the Wikipedia article linked above.