diff --git a/app/dashboard/views/_checkDetails.ejs b/app/dashboard/views/_checkDetails.ejs index 577d26acd..8f5a59f7a 100644 --- a/app/dashboard/views/_checkDetails.ejs +++ b/app/dashboard/views/_checkDetails.ejs @@ -53,7 +53,7 @@
<% if (check.lastTested) { %> - + <% } %> s diff --git a/app/dashboard/views/check_edit.ejs b/app/dashboard/views/check_edit.ejs index cbd955d73..44b27d360 100644 --- a/app/dashboard/views/check_edit.ejs +++ b/app/dashboard/views/check_edit.ejs @@ -21,7 +21,7 @@ jQuery(document).ready(function($) { }); // manage pause - $('button[name="pause"]').click(function(e) { + $('a[name="pause"]').click(function(e) { var button = $(this).children(); $.getJSON('/api/checks/<%= check._id %>/pause', function() { if(button.hasClass('icon-pause')) {