Fixed nav, for Firefox

Firefox doesn't support the `innerText` attribute.