mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 04:05:49 +00:00
Use Tickets: fix styles, check tickets
This commit is contained in:
@@ -17,3 +17,13 @@ function complete_step(step_name) {
|
||||
$(".bc-"+step_id).removeClass("active").addClass("done")
|
||||
$(".bc-"+step_id).next().removeClass("disabled").addClass("active")
|
||||
}
|
||||
|
||||
function pretty_print(j) {
|
||||
try {
|
||||
return JSON.stringify(JSON.parse(j),null,2)
|
||||
} catch (e) {
|
||||
// probably already decoded JSON
|
||||
return JSON.stringify(j,null,2)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user