mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 12:15:50 +00:00
Fix interactive tutorials issues
This commit is contained in:
@@ -629,6 +629,9 @@ async function show_log(block, msg) {
|
||||
block.find(".output-area").append(msg)
|
||||
}
|
||||
|
||||
/**
|
||||
* Run callback only when the current route is loaded.
|
||||
*/
|
||||
function onCurrentRouteLoaded(callback) {
|
||||
const currentPath = window.location.pathname;
|
||||
window.onRouteChange(() => {
|
||||
|
||||
Reference in New Issue
Block a user