Tab and Doube-Click Issue

Tab and Doube-Click Issue


I am new to javascript and I am hoping someone here can help me out.
I added the tabs widget using the following code:
$(document).ready(function() {
    $('#tabs > ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' },
deselectable: true, selected: null });
});
The tabs work great in terms of what they are designed to do, but I am
having a usability issue. Since I am using "deselectable" and effect
options, when a user double-clicks the link that initiates a tab, the
tab freezes in mid motion and will not re-expand to the actual length
after the fact.
I assume there are two ways to fix this but I am unable to figure out
how to do either:
1. Prevent this bug from happening
2. Disable the second click until the effect has been fully loaded.
Any help would be greatly appreciated.
- Mike