abhikmitra / ng-joyride

Angular Joyride Directive for creating custom introductions to websites
126 stars 68 forks source link

fixed unbound function to prevent click function #70

Open fabioformosa opened 8 years ago

fabioformosa commented 8 years ago

The prevent-click function, bound by joyride, persists also after joyride closed. Inspecting $fkEl, I noticed that off function, called to remove stopEvent, doesn't effect because the function returned by angular.bind it's not the same. (Bug detected with angular 1.2.28 and jquery 2.1.1)

I've opened issue #71 with plunkr to reproduce bug and fix.