texthighlighter icon indicating copy to clipboard operation
texthighlighter copied to clipboard

Error when calling the function "destroy" which did not remove the ev…

Open rafgal opened this issue 8 years ago • 1 comments

Error when calling the function "destroy" which did not remove the events assigned to the sandbox is repaired.

  • Add a variable to store the function associated with the events.
  • Change the constructor to assign the function to the variable.
  • "BindEvents" and "unbindEvents" was changed to make use of the variable created.

rafgal avatar Aug 17 '16 14:08 rafgal

Just as a heads up, I've forked this repo, and merged this PR in: https://github.com/zao-web/texthighlighter

jtsternberg avatar Sep 14 '16 06:09 jtsternberg