clappr / clappr-level-selector-plugin

Clappr Level Selector Plugin
MIT License
76 stars 56 forks source link

How to prevent to click on current list element? #26

Closed mikeevstropov closed 4 years ago

mikeevstropov commented 8 years ago

If i click on a current list element before level switch is ended player will die without any errors on console. It looks like a infinite loading. How to prevent click on current list element?

hmoraes commented 8 years ago

Hi @mikeevstropov

I made a minor fix in the code to prevent to click on current list element, see here

mikeevstropov commented 8 years ago

@hmoraes Thank you friend! I think we need to create a new pull request for it.

leandromoreira commented 8 years ago

I agree with @mikeevstropov @hmoraes

hmoraes commented 8 years ago

Hi @leandromoreira and @mikeevstropov

I did the pull request

34