Use e.target for the event's original target.

The 'originalEvent' property of a jQuery event object contains a browser-native event object. IE8's event objects do not have a 'target' property. (It uses 'srcElement' instead.) Because of this, as soon as a dropdown was opened on IE8, it would immediately be closed.

There's no reason to be using the 'originalEvent,' at all, in this code, since the 'target' property of a jQuery Event contains the element that initiated the event, which is exactly what this code is looking for.