Thanks for the workaround, and the patch!
Jesse Skinner wrote:
I've just submitted a patch to fix this, but in the meantime you can use an anonymous function (as I just described in another message) like so:function tocDisplay(e){ $('#toc_content')[e.data.mode](); } $('#toc_header').bind('click', {mode: 'toggle'}, function(e){ tocDisplay(e); }); $('#toc_content a').bind('click', {mode: 'hide'}, function(e){ tocDisplay(e); });