I use jQuery UI and contextMenu in my project. Context menu is created on demand, i.e. by specifuing build option in contextMenu parameters. After context menu is opened and then closed a div with class 'ui-effects-wrapper' is left in DOM. It happens when animated element is destroyed before animation is finished, so menu removal should be done in animation callback.
Fixed bug when div.ui-effects-wrapper is left in DOM after on-demand …
…context menu is closed.
Merge pull request #64 from toXXIc/gh-pages
Fixing timing problem with animation and remove on hide