jquery/jquery — pull request #1365 by dmethvin (2013-09-17 02:54:30+00:00)
Title: Fix #14282. Don't fondle getPreventDefault if preventDefault exists.

A couple of items here.

What about the formatting? It's kind of a complex conditional expression but the more straightforward `if` is pretty ugly, big and duplicated.

This passes our current defaultPrevented tests but it's kind of hard to test otherwise, so I haven't added any unit test for it.