Commit f249711
committed
addEvent: Clean up weird else case.
If neither event model is supported, executing it immediately
is not a solution. That'll call it with the wrong arguments,
with the wrong context at the wrong time.
Removed boolean cast check for elem.attachEvent because...
.. jQuery doesn't do it either.1 parent 49d0831 commit f249711
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1498 | 1498 | | |
1499 | 1499 | | |
1500 | 1500 | | |
| 1501 | + | |
1501 | 1502 | | |
1502 | 1503 | | |
1503 | | - | |
1504 | | - | |
| 1504 | + | |
1505 | 1505 | | |
1506 | | - | |
| 1506 | + | |
1507 | 1507 | | |
1508 | 1508 | | |
1509 | 1509 | | |
| |||
0 commit comments