sydcanem / bootstrap-contextmenu

Context menu plugin for Twitter's Bootstrap framework
http://sydcanem.com/bootstrap-contextmenu/
645 stars 193 forks source link

check if parameter "e" is undefined in function "closemenu" #97

Closed agabor closed 8 years ago

agabor commented 8 years ago

Hi, Thank you for this nice feature, I have found it really useful in my project. I have found however a small bug: When I consequently right-click items that have a context menu, the menu appears only every second time! This is caused by the closemenu function, where the parameter e is undefined when called from the show function. I have added a small check for that.

sydcanem commented 8 years ago

Fixed by 78d4bfd46889c127e3770e00f477a697aa258229.