pharrington / Solitairey

full-featured JavaScript solitaire
44 stars 26 forks source link

input type='range' not working #3

Closed davidcl64 closed 11 years ago

davidcl64 commented 11 years ago

I was playing around with adding some configuration options and was attempting to use a range slider, but when adding it to the user interface, I am unable to change the slider (latest version of Chrome).

You can see this by simply adding (attribute values below don't seem to matter...):

just after the tag in index-dev.html.

input type='number' has a similar issue.

Any ideas what might be causing this?

pharrington commented 11 years ago

Hi David! In Solitaire.init, the mousedown event on document.body was getting canceled, as to prevent any unwanted dragging of any static images. I just fixed this in 46bdd5da and made sure a slider worked, so all should be good.

davidcl64 commented 11 years ago

Thanks for the quick response!