mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
Fixed misleading section markers
This commit is contained in:
@@ -14,11 +14,11 @@ function openAccountAddressDialog(){
|
||||
accountAddressDialog.showModal()
|
||||
}
|
||||
|
||||
// Step 3 - Section start - this remains as it is, the rest is new
|
||||
const ledgerIndexEl = document.getElementById('ledger-index')
|
||||
const ledgerHashEl = document.getElementById('ledger-hash')
|
||||
const ledgerCloseTimeEl = document.getElementById('ledger-close-time')
|
||||
|
||||
// Step 3 - Section start - this remains as it is, the rest is new
|
||||
window.electronAPI.onUpdateLedgerData((_event, ledger) => {
|
||||
ledgerIndexEl.innerText = ledger.ledgerIndex
|
||||
ledgerHashEl.innerText = ledger.ledgerHash
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// Step 4 code additions - start
|
||||
document.addEventListener('DOMContentLoaded', openAccountAddressDialog);
|
||||
|
||||
function openAccountAddressDialog(){
|
||||
@@ -14,7 +13,6 @@ function openAccountAddressDialog(){
|
||||
|
||||
accountAddressDialog.showModal()
|
||||
}
|
||||
// Step 4 code additions - end
|
||||
|
||||
const ledgerIndexEl = document.getElementById('ledger-index')
|
||||
const ledgerHashEl = document.getElementById('ledger-hash')
|
||||
|
||||
Reference in New Issue
Block a user