Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cy.panzoom('destroy') error: $(this) -> $this #12

Closed
emelendez opened this issue May 27, 2016 · 1 comment
Closed

cy.panzoom('destroy') error: $(this) -> $this #12

emelendez opened this issue May 27, 2016 · 1 comment
Assignees

Comments

@emelendez
Copy link
Contributor

trying to destroy "panzoom" via: cy.panzoom('destroy') an ERROR is thrown in line 81, within function "destroy":

 $pz.data('cybdgs').forEach(function( l ){
          $(this).cytoscape('get').off( l.evt, l.fn );
        });

"$(this)" (empty object), should be "$this" (previously defined above)

@maxkfranz
Copy link
Member

Thanks for the PR; closing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants