Fix RES option buttons not showing in Firefox.

This was caused by an outdated use of innerText property, instead of textContent.