diff --git a/js/main.js b/js/main.js index c4ed1b5..27137a3 100644 --- a/js/main.js +++ b/js/main.js @@ -62,14 +62,19 @@ function getActiveCronjobs() { var n = val.split(' '); items += ''; + var cmd = ''; $.each(n, function(x, y) { - items += '' + y + ''; + if(x < 5) + items += '' + y + ''; + else + cmd += ' ' + y + ' '; }); + items += '' + cmd + ''; items += 'Remove'; items += ''; }); $('.active-job-list').html(items); }); -} \ No newline at end of file +}