Closed urish closed 3 years ago
Fixes #10. In my case, I believe the figcaption belonged to an embedded tweet, which caused the script to bail out (as there was no card in the stack yet). This makes sure that the script doesn't fail in these cases.
Wondering if this PR can be merged? It solved things for me as well...
Thanks! It only took me the better part of a year to merge it :)
Better late than never? :-)
Fixes #10. In my case, I believe the figcaption belonged to an embedded tweet, which caused the script to bail out (as there was no card in the stack yet). This makes sure that the script doesn't fail in these cases.