Skip to content

Commit

Permalink
Narrow down raise exceptions query selector
Browse files Browse the repository at this point in the history
Finding by any input tag is a little bit broad [#605]
  • Loading branch information
sheelc committed Jun 7, 2014
1 parent fc6603e commit 13e0dd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/jasmine-core/jasmine-html.js
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/html/HtmlReporter.js
Expand Up @@ -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;
Expand Down

0 comments on commit 13e0dd2

Please sign in to comment.