#260 fix console error when parsing xml feed from fedora-copr.github.io
Closed 6 years ago Opened 6 years ago by dturecek.

There's a console error in firefox when parsing xml feed from the blog. The error is caused by $(data).find("item").each(function () { ... }) in blog.js.

Screenshot_from_2018-03-09_10-44-33.png


Are you already working on it @dturecek or should I take it?

I tried something but wasn't able to solve it, so you can take it.

It only occurs on Firefox as far as we know.

Metadata Update from @frostyx:
- Issue assigned to frostyx

6 years ago

This is actually a bug in jQuery 1.11.2 and 1.11.3 (which we have), please see https://stackoverflow.com/a/33977688/3285282 for more info.

There is no version 1.11.4, so I tried the first greater version, which is 1.12.0 and the error is gone. I will create PR for updating the static/components/jquery once I figure out how to do it properly because we have a bower.json, so we shouldn't just copy-paste the *.js files like I did while testing it.

Metadata Update from @frostyx:
- Issue status updated to: Closed (was: Open)

6 years ago

Log in to comment on this ticket.

Metadata
Attachments 1