bennettscience / barhop

A lightweight theme built for Anchor CMS
3 stars 3 forks source link

Make included scripts use protocol-relative paths #33

Closed SolidX closed 8 years ago

SolidX commented 8 years ago

jQuery & Google fonts are blocked if you're connecting via HTTPS.

Rather than hardcode the protocol to use, leaving out "http://" in the src attribute in favor of "//" selects the protocol you're currently using to load the page.

bennettscience commented 8 years ago

Thanks. Haven't used this in a while. Appreciate the fix.