diff --git a/src/components/modebar/manage.js b/src/components/modebar/manage.js index 718a790f5e3..b11f97643e5 100644 --- a/src/components/modebar/manage.js +++ b/src/components/modebar/manage.js @@ -183,7 +183,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 = [];