It's a mistake. It should be idir. What you typed is only off by one letter so duolingo automatically considered it only a typo. Usually it will accept it but tell you that you had a typo. Some times it forgets to mention the typo - that's a bug only the developers can fix (and they probably won't).
Anyway... Short version: "idir" is the only correct version.