* Hide contextmenu when page scroll.

This commit is contained in:
tianshujie
2021-12-30 11:24:07 +08:00
parent 08723126ea
commit ff35ce06cd
+6
View File
@@ -91,6 +91,12 @@ $(function()
$.zui.ContextMenu.show(items, items.$options || {event: event});
});
}
/* Hide contextmenu when page scroll */
$(window).on('scroll', function()
{
$.zui.ContextMenu.hide();
});
});
/* Define menu creators */