diff --git a/lib/jasmine-core/jasmine-html.js b/lib/jasmine-core/jasmine-html.js index 3b1ec6f0..61191dc6 100644 --- a/lib/jasmine-core/jasmine-html.js +++ b/lib/jasmine-core/jasmine-html.js @@ -150,7 +150,7 @@ jasmineRequire.HtmlReporter = function(j$) { type: 'checkbox' }) )); - var checkbox = find('input'); + var checkbox = find('#raise-exceptions'); checkbox.checked = !env.catchingExceptions(); checkbox.onclick = onRaiseExceptionsClick; diff --git a/src/html/HtmlReporter.js b/src/html/HtmlReporter.js index f55c88ca..e00010c4 100644 --- a/src/html/HtmlReporter.js +++ b/src/html/HtmlReporter.js @@ -121,7 +121,7 @@ jasmineRequire.HtmlReporter = function(j$) { type: 'checkbox' }) )); - var checkbox = find('input'); + var checkbox = find('#raise-exceptions'); checkbox.checked = !env.catchingExceptions(); checkbox.onclick = onRaiseExceptionsClick;