mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Resize change node rules when they are added
This commit is contained in:
parent
44dc37ef6d
commit
e92241bf97
@ -216,6 +216,9 @@
|
|||||||
toValue.typedInput('type',rule.tot);
|
toValue.typedInput('type',rule.tot);
|
||||||
selectField.change();
|
selectField.change();
|
||||||
|
|
||||||
|
var newWidth = $("#node-input-rule-container").width();
|
||||||
|
container.find('.red-ui-typedInput').typedInput("width",newWidth-180);
|
||||||
|
|
||||||
$("#node-input-rule-container").append(container);
|
$("#node-input-rule-container").append(container);
|
||||||
}
|
}
|
||||||
$("#node-input-add-rule").click(function() {
|
$("#node-input-add-rule").click(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user