Narrow down raise exceptions query selector
Finding by any input tag is a little bit broad [#605]
This commit is contained in:
@@ -150,7 +150,7 @@ jasmineRequire.HtmlReporter = function(j$) {
|
|||||||
type: 'checkbox'
|
type: 'checkbox'
|
||||||
})
|
})
|
||||||
));
|
));
|
||||||
var checkbox = find('input');
|
var checkbox = find('#raise-exceptions');
|
||||||
|
|
||||||
checkbox.checked = !env.catchingExceptions();
|
checkbox.checked = !env.catchingExceptions();
|
||||||
checkbox.onclick = onRaiseExceptionsClick;
|
checkbox.onclick = onRaiseExceptionsClick;
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ jasmineRequire.HtmlReporter = function(j$) {
|
|||||||
type: 'checkbox'
|
type: 'checkbox'
|
||||||
})
|
})
|
||||||
));
|
));
|
||||||
var checkbox = find('input');
|
var checkbox = find('#raise-exceptions');
|
||||||
|
|
||||||
checkbox.checked = !env.catchingExceptions();
|
checkbox.checked = !env.catchingExceptions();
|
||||||
checkbox.onclick = onRaiseExceptionsClick;
|
checkbox.onclick = onRaiseExceptionsClick;
|
||||||
|
|||||||
Reference in New Issue
Block a user