1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Update 20-inject.html

Scroll the div down automatically when the user changes the repeat drop down.
This commit is contained in:
Paul Wieland 2020-04-08 13:37:51 -04:00
parent 4595a77c41
commit 2efc2bc186

View File

@ -278,7 +278,9 @@
$("#node-input-once").prop('checked', false);
}
// Fire oneditresize?
// Scroll down
var scrollDiv = $("#dialog-form").parent();
scrollDiv.scrollTop(scrollDiv.prop('scrollHeight'));
});
$("#node-input-once").on("change", function() {