toggle function breaks when using jQuery UI

toggle function breaks when using jQuery UI

We are using toggle as described here http://api.jquery.com/toggle/ with .toggle( showOrHide ).
After we added jQuery UI the .toggle( showOrHide ) isn't called any more, but the .toggle(effect), which breaks our code.

Because Javascript doesn't support function overloading, i think this 'overwriting' is not a good way and very error-prone. This should at least be mentioned in the documentation.