sydcanem / bootstrap-contextmenu

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

This fixes the issue #22 #23

Closed ninio closed 11 years ago

ninio commented 11 years ago

ContextMenu constructor called once with all the elements for it instead of separately for each element that meets the selector.

I think that this is also a bit faster due to less function calls.

ninio commented 11 years ago

Don't merge yet - the before function's parameter is not correct due to the fix. I'm fixing this also and will commit an update.