`trigger` is expected to be a jquery object as well.

It's horrible code, that's what it is (even JSLint agreed). Behaviour-wise it should be about the same (wrapping jquery object just returns that object).