Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 79049b9

Browse files
shyamseshadrimhevery
authored andcommitted
Fix failing test in IE 10
1 parent 9428338 commit 79049b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ng/directive/formSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ describe('form', function() {
228228
// the issue in the wild, I'm not going to bother to do it
229229
// now. (i)
230230

231-
// IE9 is special and it doesn't fire submit event when form was destroyed
232-
if (msie != 9) {
231+
// IE9 and IE10 are special and don't fire submit event when form was destroyed
232+
if (msie < 9) {
233233
expect(reloadPrevented).toBe(true);
234234
$timeout.flush();
235235
}

0 commit comments

Comments
 (0)