Callback onClickAfter on the last child v0.2.0
Closed this issue · 3 comments
opii972 commented
I use this script with the version v0.1.5 with a three level menu
onClickAfter: function(e) { e.preventDefault(); $(selector).find('li').removeClass('active'); var li = $(this).parent(); var lis = li.parents('li'); li.addClass('active'); lis.addClass('active'); }
but this doesn't work with the lasted version v0.2.0.
For example the callback doesn't work on the last li children "Google". Please ! Why !?tefra commented
The last update broke the callbacks for the leaf links. It will be fixed in the next release.
Thank you for reporting.
opii972 commented
Great ! Thank you for the speed and clarity of your reply.
tefra commented
fixed grab 0.2.1