Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
21
rated 0 times [  23] [ 2]  / answers: 1 / hits: 16089  / 7 Years ago, tue, november 14, 2017, 12:00:00

I have a fairly simple Angular 1.x app that was working fine until i upgraded to Safari 11. Now, it doesn't work because almost all of the js files are blocked.



The same was true for CSS files, but removing the rel attribute and adding type=text/css fixed the CSS issues.



For the JS files, I've made sure to add type=text/javascript to the script tags. I also just tried adding ./ to the beginning of the src's for giggles and they still won't load.



Does anyone know how to fix this?



Thanks,
Wayne


More From » angularjs

 Answers
23

I want to just delete the question but I hope maybe this answer will still be helpful to someone.



So, my problem was actually that I had a bad clone of my project and it was missing files!



However, for anyone having the same issue:



ensuring that type=text/css for stylesheets and type=text/javascript did fix the issue. (for the files that actually existed)


[#55936] Saturday, November 11, 2017, 7 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ciarajourneyv

Total Points: 428
Total Questions: 95
Total Answers: 90

Location: Maldives
Member since Sat, Feb 11, 2023
1 Year ago
;