MediumFast on top
This commit is contained in:
parent
b2473b419a
commit
4d2ad549db
1 changed files with 2 additions and 0 deletions
|
|
@ -3562,6 +3562,8 @@
|
||||||
tagName: node.node_id,
|
tagName: node.node_id,
|
||||||
// we want to show online nodes above offline, but without needing to use separate layer groups
|
// we want to show online nodes above offline, but without needing to use separate layer groups
|
||||||
//zIndexOffset: nodeHasUplinkedToMqttRecently ? 1000 : -1000,
|
//zIndexOffset: nodeHasUplinkedToMqttRecently ? 1000 : -1000,
|
||||||
|
// show mediumfast nodes above longfast nodes
|
||||||
|
zIndexOffset: node.channel_id == "MediumFast" ? 1000 : -1000,
|
||||||
}).on('click', function(event) {
|
}).on('click', function(event) {
|
||||||
// close tooltip on click to prevent tooltip and popup showing at same time
|
// close tooltip on click to prevent tooltip and popup showing at same time
|
||||||
event.target.closeTooltip();
|
event.target.closeTooltip();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue