Elastic: Fix menu_destroy()

pull/6274/head
Aleksander Machniak 7 years ago
parent 89715b040b
commit ba9ee7e212

@ -2119,9 +2119,7 @@ function rcube_elastic_ui()
*/
function menu_destroy(name)
{
var target = menu_target(name);
$(target || '[aria-owns=' + name + ']').popover('dispose');
$('[aria-owns=' + name + ']').popover('dispose').data('popup', null);
};
/**

Loading…
Cancel
Save