diff --git a/src/components/modebar/manage.js b/src/components/modebar/manage.js index a6e89f9cf2a..2f3586b85b6 100644 --- a/src/components/modebar/manage.js +++ b/src/components/modebar/manage.js @@ -185,7 +185,7 @@ function getButtonGroups(gd) { // regardless of what other types are on the plot, since they'll all // just treat any truthy hovermode as 'closest' if(hasCartesian) { - hoverGroup = ['toggleSpikelines', 'hoverClosestCartesian', 'hoverCompareCartesian']; + hoverGroup.push('toggleSpikelines', 'hoverClosestCartesian', 'hoverCompareCartesian'); } if(hasNoHover(fullData) || hasUnifiedHoverLabel) { hoverGroup = [];