Skip to content

Clicking 'Code Now' will open multiple files #217

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

Closed
jdneo opened this issue Mar 17, 2019 · 0 comments
Closed

Clicking 'Code Now' will open multiple files #217

jdneo opened this issue Mar 17, 2019 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@jdneo
Copy link
Member

jdneo commented Mar 17, 2019

Bug repro step:

  1. Click 2-3 problem node to preview the description one by one
  2. Click Code Now
  3. It will generate all the files for the problems that have been previewed before

Root cause:

The listeners are registered every time executing preview (). They should be registered only once when this.panel has not been created.

@jdneo jdneo added the bug Something isn't working label Mar 17, 2019
@jdneo jdneo added this to the 0.13.1 milestone Mar 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant