Narrow down raise exceptions query selector

Finding by any input tag is a little bit broad [#605]
This commit is contained in:
Sheel Choksi
2014-06-06 22:19:17 -07:00
parent fc6603e99f
commit 13e0dd27c9
2 changed files with 2 additions and 2 deletions

View File

@@ -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 File

@@ -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;