IIIT-Delhi / byld-website

Static Website for IIIT-Delhi's Software Dev Club Byld
https://iiit-delhi.github.io/byld-website/
8 stars 29 forks source link

JS throwing exeptions on the console #36

Open virresh opened 6 years ago

virresh commented 6 years ago
Uncaught DOMException: Failed to read the 'rules' property from 'CSSStyleSheet': Cannot access rules
    at CSSStyleSheet.<anonymous> (http://byld.iiitd.edu.in/:343:25)
    at Function.each (https://code.jquery.com/jquery-1.11.3.js:384:23)
    at http://byld.iiitd.edu.in/:341:5

Possibly related to 922518a54d4c67434c9d47a20661e56945a85a88

peey commented 6 years ago

Guessing from the message, I think it's related to https://github.com/virresh/byldWebsite/commit/922518a54d4c67434c9d47a20661e56945a85a88#diff-140061c0b3f9934dce327a3cbae86005R16

Might have to find another way to check if bootstrap css loaded successfully

peey commented 6 years ago

It might be related to this: https://stackoverflow.com/a/49160760/1412255 but they say it's because of invalid CORS configuration. I would've thought that that shouldn't be an issue with a CDN provider.