Skip to content

Commit e9a6898

Browse files
committed
Close #1584: Prevent multiple selectize/dynamic color brushes from being rendered in shiny
1 parent 8201019 commit e9a6898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/htmlwidgets/plotly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ HTMLWidgets.widget({
7474
});
7575

7676
// inject a "control panel" holding selectize/dynamic color widget(s)
77-
if (x.selectize || x.highlight.dynamic && !instance.plotly) {
77+
if ((x.selectize || x.highlight.dynamic) && !instance.plotly) {
7878
var flex = document.createElement("div");
7979
flex.class = "plotly-crosstalk-control-panel";
8080
flex.style = "display: flex; flex-wrap: wrap";

0 commit comments

Comments
 (0)