Bug in Javascript that causes images not to load.
-
On line 106 of
kale.js
, there is the following line of code:if(jQuery(item).attr('src').match(/(https?:)?\/\/www\.youtube\.com/)) {
This code will break and cause your images not to load if there is an
<iframe>
without thesrc
attribute. I fixed this by changing that line to this:if(jQuery(item).attr('src') != "" && jQuery(item).attr('src').match(/(https?:)?\/\/www\.youtube\.com/)) {
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug in Javascript that causes images not to load.’ is closed to new replies.