Ensuring that sub context menus are removed when hiding to ensure they are correctly (re)created during mouseenter events.
This closes
* Hides the context menu.
*/
hide: function () {
- $('.context-menu').hide();
+ $('#context-menu').hide();
+ $('div.context-menu.sub-menu').remove();
},
/**
