[fenix] For https://github.com/mozilla-mobile/fenix/issues/3907: Hide 'Go back' button for bad websites from new tabs

pull/600/head
Yeon Taek Jeong 5 years ago committed by Emily Kager
parent fbb407378a
commit f883987800

@ -36,5 +36,10 @@
<button id="errorTryAgain" onclick="window.history.back() ">%backButton%</button>
</div>
</div>
<script>
if (window.history.length == 1) {
document.getElementById('errorTryAgain').style.visibility = 'hidden';
}
</script>
</body>
</html>

Loading…
Cancel
Save