neighbours function doesn't like empty neighbours

This commit is contained in:
Dominik Heidler 2015-12-01 14:54:09 +01:00
parent d1c27b709f
commit 594ee53194
1 changed files with 2 additions and 0 deletions

View File

@ -282,7 +282,9 @@
{%- endfor %}
];
$(document).ready(function() {
{%- if router.neighbours|length > 0 %}
neighbour_graph(neighbours);
{%- endif %}
memory_graph();
process_graph();
client_graph();