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>
|
</body>
|
||||||
|
|
||||||
<script src="./errorPageScripts.js"></script>
|
<script src="./errorPageScripts.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
if (window.history.length == 1) {
|
||||||
|
document.getElementById('backButton').style.display = 'none';
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -71,6 +71,10 @@
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
if (window.history.length == 1) {
|
||||||
|
document.getElementById('advancedPanelBackButton').style.display = 'none';
|
||||||
|
}
|
||||||
|
|
||||||
function toggleAdvancedAndScroll() {
|
function toggleAdvancedAndScroll() {
|
||||||
toggleAdvanced();
|
toggleAdvanced();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user