Home › Forums › JavaScript › Setting (max) widths on certain/specified Fancybox overlays. › Reply To: Setting (max) widths on certain/specified Fancybox overlays.
November 1, 2016 at 2:12 am
#247262
Participant
Ah I think it’s because I was using CodeKit to compile my scss files. It runs checks on javascript as well (if enabled) so I imagine it’s just being very strict. If I add the brackets it gets rid of the error anyways and it still works. Probably better to do that than turn the syntax checker off – seeing as I’m terrible with javascript!