mirror of
https://github.com/node-red/node-red
synced 2024-11-21 23:48:30 +00:00
Fix linting
This commit is contained in:
parent
aa74d8160a
commit
83b30f1c18
@ -1210,10 +1210,9 @@ RED.view = (function() {
|
||||
}
|
||||
if (d3.event.touches || d3.event.button === 0) {
|
||||
if (
|
||||
(mouse_mode === 0 && isControlPressed(d3.event) && !(d3.event.altKey || d3.event.shiftKey))
|
||||
||
|
||||
mouse_mode === RED.state.QUICK_JOINING
|
||||
) {
|
||||
(mouse_mode === 0 && isControlPressed(d3.event) && !(d3.event.altKey || d3.event.shiftKey)) ||
|
||||
mouse_mode === RED.state.QUICK_JOINING
|
||||
) {
|
||||
// Trigger quick add dialog
|
||||
d3.event.stopPropagation();
|
||||
clearSelection();
|
||||
|
Loading…
Reference in New Issue
Block a user