diff --git a/changedetectionio/static/js/browser-steps.js b/changedetectionio/static/js/browser-steps.js index d0acc7d3..d77bc181 100644 --- a/changedetectionio/static/js/browser-steps.js +++ b/changedetectionio/static/js/browser-steps.js @@ -360,16 +360,13 @@ $(document).ready(function () { // Add the extra buttons to the steps $('ul#browser_steps li').each(function (i) { var s = '
' + 'Apply '; - if (i > 0) { - // The first step never gets these (Goto-site) - s += `Clear ` + - `Remove`; + s += `Clear ` + + `Remove`; - // if a screenshot is available - if (browser_steps_available_screenshots.includes(i.toString())) { - var d = (browser_steps_last_error_step === i+1) ? 'before' : 'after'; - s += ` Pic `; - } + // if a screenshot is available + if (browser_steps_available_screenshots.includes(i.toString())) { + var d = (browser_steps_last_error_step === i+1) ? 'before' : 'after'; + s += ` Pic `; } s += '
'; $(this).append(s)