fixed undefined node version

This commit is contained in:
cubedro 2015-04-28 15:50:36 +03:00
parent 61b5ddd125
commit 98253b9f3f
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ angular.module('netStatsApp.filters', [])
var tooltip = [];
var string = '';
if(node.info.node !== '') {
if(node.info.node !== '' && typeof node.info.node !== 'undefined') {
var eth_version = node.info.node.split('/');
if(eth_version[1][0] !== 'v' && eth_version[1][2] !== '.')