jquery.graphviz.svg icon indicating copy to clipboard operation
jquery.graphviz.svg copied to clipboard

destroy() fails with error on hide

Open amaline opened this issue 7 years ago • 1 comments

Calling destroy() fails because hide is not defined. Calling

mygraph.$element.off('.' + mygraph.type).removeData(mygraph.type);

directly works although probably not the right thing to do.

amaline avatar Oct 27 '17 19:10 amaline

Thanks for the workaround. I needed to use the destroy method in order to re-draw the graph.

schulzetenberg avatar Sep 10 '18 02:09 schulzetenberg