Fair point. What you suggest certainly would be better than no check.
But, it's not a test that openerFunc is actually a function, just that
it exists and has an call property.

Thanks though,

- Mike

On Sep 2, 11:45 am, Matt Kruse <m...@thekrusefamily.com> wrote:
> On Sep 2, 1:16 pm, msoliver <michaelsoli...@gmail.com> wrote:
>
> >         if ($.isFunction(openerFunc))
>
> Why not just:
>    if (openerFunc && openerFunc.call)
> ?
>
> Matt Kruse

Reply via email to