more filter optimisation

This commit is contained in:
cubedro 2015-02-25 00:39:47 +02:00
parent e2de282cd8
commit 4580336d6f

View File

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