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

When using index-multi.html on local wampserver, arrows jumps 2 months ahead #35

Closed
dudanesk opened this issue Apr 10, 2021 · 3 comments

Comments

@dudanesk
Copy link

When I use the "multi picker on same page" on https://priyank-p.github.io/simplepicker/index-multi.html, it works beautifully. But when I import index-multi.html on my local website using wampserver without changing or modifying any of the code at all, it doesn't work properly anymore. The arrow jumps 2 months ahead (from april to june to august etc... and same going backward). I'm clueless. Again, I haven't changed the code at all, I just copied index-multi.html on my local folder and it won't work like it does on https://priyank-p.github.io/simplepicker/index-multi.html. Any ideas?

@priyank-p
Copy link
Owner

Did you copy the dist/simplepicker.js and dist/simplepicker.css along with the index-multi.html? The GitHub pages website uses the files present here on GitHub I just mentioned before so that needs to be the same. My guess is that is outdated somehow?

@dudanesk
Copy link
Author

I did move all the current pages on GitHub along with index-multi.html
But I managed to get it to work by simply creating a new folder to move my local website in. The website is the exact same without any modifications, but here in this new location, simplepicker works as intended. I can't wrap my head around that, but everything works now and that's all I care about :-)
Thanks you so much for getting back to me and trying to help out, and an even bigger thank you for sharing your whole simplepicker project, which I am delighted with

@priyank-p
Copy link
Owner

priyank-p commented Apr 10, 2021

I am glad to hear that the issue is resolved! And thank you for your kind words :)

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