codeforamerica / mdc-step-wizard

Miami-Dade County's wizard for short-term event permitting
http://codeforamerica.github.io/mdc-step-wizard
4 stars 7 forks source link

Replace inline `http://` with just `://` #63

Closed ErnieAtLYD closed 9 years ago

ErnieAtLYD commented 9 years ago

Best practices say to replace src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" with just src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js". This will prevent any JS errors (which would crash the wizard) if someone tried to access the URL with an https protocol.

phiden commented 9 years ago

That particular practice breaks my localhost, making this a PITA to work on. Instead swapped for httpS, which is accepted practice as well. When this moves off testing, we can remove the https altogether.