For #14552: Do not display back button when there is no tab history.
This commit is contained in:
parent
8769a7d4fb
commit
adbb262787
|
@ -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…
Reference in New Issue
Block a user