Commit 902b7216 authored by Kyle Needham's avatar Kyle Needham

isolate expectation to issue to stop IE and Firefox failing spec

parent 2813c28d
......@@ -595,10 +595,10 @@ describe('Bootstrap Multiselect Specific Issues', function() {
selection.removeAllRanges();
selection.addRange(range);
$('#multiselect-container').find('label:first').trigger('click');
$('#multiselect-container').find('a:first').trigger('click');
expect($('#multiselect-container').find('input:first').prop('checked')).toBe(true);
if (document.getSelection().type === 'Range') {
$('#multiselect-container').find('a:first').trigger('click');
expect($('#multiselect-container').find('input:first').prop('checked')).toBe(true);
}
$('#multiselect').multiselect('destroy');
$('#multiselect').remove();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment