ui.tabs.closable
ui.tabs.closable copied to clipboard
"close" spans can now be added in the initial DOM to avoid a FOUC without breaking the plugin behavior
To avoid a FOUC, we can add the "close" span directly into the initial DOM. That caused the plugin not to bind events on these pre-added spans. Now events are bound on all "close" spans, no matter if they were added by the plugin or were already present in the DOM.
Hi @andrewwatts
I know this repository didn't have much activity lately, but I just added support for jQueryUI 1.9. It should still work with jQueryUI 1.8, but I didn't have the opportunity to test it.
If someone tests it with jQueryUI 1.8, please let me know if it works or not.