mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-06-16 09:49:44 -07:00
heatmaps: part 8
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import { createPartialOptions } from "./partial.js";
|
||||
import { createButtonElement, createAnchorElement } from "../utils/dom.js";
|
||||
import {
|
||||
createAnchorElement,
|
||||
createButtonElement,
|
||||
createSmall,
|
||||
} from "../utils/dom.js";
|
||||
import { pushHistory, resetParams } from "../utils/url.js";
|
||||
import { readStored, writeToStorage } from "../utils/storage.js";
|
||||
import { stringToId } from "../utils/format.js";
|
||||
@@ -395,9 +399,7 @@ export function initOptions() {
|
||||
details.append(summary);
|
||||
summary.append(node.name);
|
||||
|
||||
const count = window.document.createElement("small");
|
||||
count.textContent = `[${node.count.toLocaleString("en-us")}]`;
|
||||
summary.append(count);
|
||||
summary.append(createSmall(`[${node.count.toLocaleString("en-us")}]`));
|
||||
|
||||
let built = false;
|
||||
if (autoOpen && isOnSelectedPath(node.path)) {
|
||||
|
||||
Reference in New Issue
Block a user