mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Update debug sidebar to use RED.view.reveal to show debug nodes
This commit is contained in:
parent
7ff9c2885d
commit
7ed9e7cdd4
@ -168,7 +168,7 @@
|
|||||||
msg.onclick = function() {
|
msg.onclick = function() {
|
||||||
var node = RED.nodes.node(o.id) || RED.nodes.node(o.z);
|
var node = RED.nodes.node(o.id) || RED.nodes.node(o.z);
|
||||||
if (node) {
|
if (node) {
|
||||||
RED.workspaces.show(node.z);
|
RED.view.reveal(node.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user