r/javascript • • Sep 02 '15

HTML5 Deck of Cards. 100% vanilla JS.

http://pakastin.github.io/deck-of-cards/
368 Upvotes

185 comments sorted by

View all comments

5

u/angellus Sep 02 '15

You have Mixed Content errors on your deck.min.js if you load the page over HTTPS (I have HTTPS everywhere install so it loaded automatically).

You should always use // instead of http:// to prevent this from happening. It will attempt to load the resource over the same protocol as the parent page.

2

u/pkstn Sep 02 '15

That's fixed now, thanks!