Skip to content

Commit c30e3f3

Browse files
committed
Decompatibilitize
1 parent c331266 commit c30e3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ module.exports = function prepSelect(e, startX, startY, dragOptions, mode) {
278278
else {
279279
// TODO: remove in v2 - this was probably never intended to work as it does,
280280
// but in case anyone depends on it we don't want to break it now.
281-
gd.emit('plotly_selected', {points: [], range: null});
281+
gd.emit('plotly_selected', undefined);
282282
}
283283

284284
Fx.click(gd, evt);

0 commit comments

Comments
 (0)