1
0
Fork 0

For #3907: Hide 'Go back' button for bad websites from new tabs

master
Yeon Taek Jeong 2019-08-01 11:56:13 -07:00 committed by Emily Kager
parent 015922ddd2
commit 3a262a429b
1 changed files with 5 additions and 0 deletions

View File

@ -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>