more filter optimisation

This commit is contained in:
cubedro 2015-02-25 00:39:47 +02:00
parent e2de282cd8
commit 4580336d6f
1 changed files with 0 additions and 6 deletions

View File

@ -84,9 +84,6 @@ angular.module('netStatsApp.filters', [])
return 'text-success';
if(propagation <= 7000)
return 'text-info';
if(propagation <= 10000)
return 'text-warning';
return 'text-danger'
@ -98,9 +95,6 @@ angular.module('netStatsApp.filters', [])
return 'text-success';
if(time <= 1000)
return 'text-info';
if(time <= 2000)
return 'text-warning';
return 'text-danger'