From dc47f1af0a33b1345eb4b629cb5a5e271d7e6c2c Mon Sep 17 00:00:00 2001 From: Charles Teague Date: Mon, 12 Feb 2024 17:04:07 -0500 Subject: [PATCH] Dashboard - itables 1.7 init --- src/format/dashboard/format-dashboard-tables.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/format/dashboard/format-dashboard-tables.ts b/src/format/dashboard/format-dashboard-tables.ts index ba30aabc12..ca0f3c6a71 100644 --- a/src/format/dashboard/format-dashboard-tables.ts +++ b/src/format/dashboard/format-dashboard-tables.ts @@ -66,7 +66,9 @@ export function processDatatables( kDatatableInit, "let table = new DataTable('#$1', dt_args);", ); - scriptEl.innerText = codeWithInit; + scriptEl.innerText = codeWithInit; + } else { + scriptEl.innerText = codeText; } // Remove the inline css