Skip to content

Commit

Permalink
reduce console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
brettforbes committed Jul 17, 2024
1 parent 46b3a61 commit 911facb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/js/panel._utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ window.Widgets.Panel.Utils = {};
ns.contentMenuItem = d;

d3.select(this)
.style("stroke", window.Widgets.Widget.theme.select)
.style("stroke", ns.theme.select)
.style("opacity", 0.8)
}

Expand Down
2 changes: 1 addition & 1 deletion src/js/panel.promo.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ window.Widgets.Panel.Promo = {}
.join('image')
.attr('class', 'pnodes')
.attr('xlink:href', function(d) {
console.log('shape->', ns.options.shape);
// console.log('shape->', ns.options.shape);
return (
ns.options.prefix + ns.options.shape + d.icon + '.svg'
);
Expand Down
4 changes: 2 additions & 2 deletions src/js/panel.tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ window.Widgets.Panel.Tree = {}
.attr('y', -ns.options.icon_size / 2 - ns.options.boxSize / 2)
.attr('xlink:href', function (d) {
console.log('d->', d)
console.log('prefix->', ns.options.prefix, ', shape->', ns.options.shape)
console.log(ns.options.prefix + ns.options.shape + d.data.icon + '.svg')
// console.log('prefix->', ns.options.prefix, ', shape->', ns.options.shape)
// console.log(ns.options.prefix + ns.options.shape + d.data.icon + '.svg')
return ns.options.prefix + ns.options.shape + d.data.icon + '.svg'
})
.attr('width', function (d) {
Expand Down

0 comments on commit 911facb

Please sign in to comment.