krisk / textualizer

A jQuery plug-in which transitions through blurbs of text, animating each character
http://krisk.github.io/textualizer/
341 stars 40 forks source link

destroy() doesn't remove the cloned element #19

Open croudet opened 12 years ago

croudet commented 12 years ago

Calling .textualizer('destroy') does not remove the clone node.

this.destroy = function () {
  $container.parent().removeData('textualizer').end().remove();
  // $phantomContainer.remove();
  $clone.remove();
 };