[fenix] For https://github.com/mozilla-mobile/fenix/issues/14552: Do not display back button when there is no tab history.

pull/600/head
mcarare 4 years ago committed by Mihai Adrian Carare
parent 95d1497c25
commit 87ce122d03

@ -34,4 +34,9 @@
</body>
<script src="./errorPageScripts.js"></script>
<script type="text/javascript">
if (window.history.length == 1) {
document.getElementById('backButton').style.display = 'none';
}
</script>
</html>

@ -71,6 +71,10 @@
</body>
<script type="text/javascript">
if (window.history.length == 1) {
document.getElementById('advancedPanelBackButton').style.display = 'none';
}
function toggleAdvancedAndScroll() {
toggleAdvanced();

Loading…
Cancel
Save