A chicken leg includes both the drumstick and the thigh.  A drumstick is, well, just the drumstick!  You can absolutely substitute either chicken legs or chicken thighs in this recipe, you will just need to adjust the baking time depending on the size of each piece of chicken.