Skip to content

Commit 5d6f267

Browse files
committed
take <br> out of notifier messages
just let it break where it's going to break
1 parent 0f8520e commit 5d6f267

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/plots/cartesian/dragbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ module.exports = function dragBox(gd, plotinfo, x, y, w, h, ns, ew) {
296296
dragTail(zoomMode);
297297

298298
if(SHOWZOOMOUTTIP && gd.data && gd._context.showTips) {
299-
Lib.notifier(Lib._(gd, 'Double-click to<br>zoom back out'), 'long');
299+
Lib.notifier(Lib._(gd, 'Double-click to zoom back out'), 'long');
300300
SHOWZOOMOUTTIP = false;
301301
}
302302
}

src/plots/ternary/ternary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ proto.initInteractions = function() {
589589
Plotly.relayout(gd, attrs);
590590

591591
if(SHOWZOOMOUTTIP && gd.data && gd._context.showTips) {
592-
Lib.notifier(_(gd, 'Double-click to<br>zoom back out'), 'long');
592+
Lib.notifier(_(gd, 'Double-click to zoom back out'), 'long');
593593
SHOWZOOMOUTTIP = false;
594594
}
595595
}

0 commit comments

Comments
 (0)