Skip to content

Commit b70c891

Browse files
authored
Merge pull request #3 from FlowFuse/width-validation
Relax width validation for wysiwyg
2 parents 6519135 + 8b6713d commit b70c891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodes/ui-flowviewer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
const width = v || 0
1313
const currentGroup = $('#node-input-group').val() || this.group
1414
const groupNode = RED.nodes.node(currentGroup)
15-
const valid = !groupNode || +width <= +groupNode.width
15+
const valid = !groupNode || +width >= 0
1616
$('#node-input-size').toggleClass('input-error', !valid)
1717
return valid
1818
}

0 commit comments

Comments
 (0)