Closed ninio closed 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.
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.
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.