Permalink
Browse files

Narrow down raise exceptions query selector

Finding by any input tag is a little bit broad [#605]
  • Loading branch information...
1 parent fc6603e commit 13e0dd27c96aee85415c83d49bd7ad312b0ee549 @sheelc sheelc committed Jun 7, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/jasmine-core/jasmine-html.js
  2. +1 −1 src/html/HtmlReporter.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;
View
@@ -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;

0 comments on commit 13e0dd2

Please sign in to comment.