Skip to content

Commit

Permalink
js: added kn- prefix before nodes object classes
Browse files Browse the repository at this point in the history
  • Loading branch information
rchakode committed Mar 14, 2024
1 parent de17f4c commit 12ec289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ define(['jquery', 'bootstrap', 'bootswatch', 'd3Selection', 'stackedAreaChart',
let dynHtml = '';
let donuts = new Map();
for (let [nname, _] of dataset.data) {
let nname4Css = nname.replaceAll('.', '_');
let nname4Css = 'kn-' + nname.replaceAll('.', '_');
donuts[nname] = donut();
dynHtml += '<div class="col-md-4">';
dynHtml += ' <h4>' + nname + '</h4>';
Expand All @@ -473,7 +473,7 @@ define(['jquery', 'bootstrap', 'bootswatch', 'd3Selection', 'stackedAreaChart',
}
$("#js-nodes-load-container").html(dynHtml);
for (let [nname, ndata] of dataset.data) {
let nname4Css = nname.replaceAll('.', '_');
let nname4Css = 'kn-' + nname.replaceAll('.', '_');
updateDonutChart(ndata['chartData'],
donuts[nname],
'js-' + nname4Css,
Expand Down

0 comments on commit 12ec289

Please sign in to comment.