website: fixes

This commit is contained in:
k
2024-09-19 21:48:54 +02:00
parent 0f95d41785
commit 7d211f74d1
3 changed files with 15 additions and 10 deletions

View File

@@ -8027,16 +8027,18 @@ lazySignals.then((importedSignals) => {
dom.onFirstIntersection(selectedFrameElement, () =>
utils.runWhenIdle(() =>
import("./packages/lightweight-charts/v4.2.0/script.js").then(
({
createChart: createClassicChart,
createChartEx: createCustomChart,
}) => {
initSelectedFrame({
createClassicChart,
createCustomChart,
});
}
window.document.fonts.ready.then(() =>
import("./packages/lightweight-charts/v4.2.0/script.js").then(
({
createChart: createClassicChart,
createChartEx: createCustomChart,
}) => {
initSelectedFrame({
createClassicChart,
createCustomChart,
});
}
)
)
)
);