port-zero / website

A new website for Port Zero
https://port-zero.com
MIT License
5 stars 2 forks source link

Fixes #70 #71

Closed ghost closed 5 years ago

ghost commented 5 years ago

Problem was: CORS policy that forbids inline scripts Solution: Extracted inline script to separate JavaScript file

Tested on https://staging.port-zero.com

hellerve commented 5 years ago

Could we also remove the old onchange listener that was inline so we get rid of the warning and the unused JS?

ghost commented 5 years ago

Yes. Thanks. I have forgotten that :-/

ghost commented 5 years ago

Removed and also I have also tested it again on staging after I have removed the old inline script.