-
Notifications
You must be signed in to change notification settings - Fork 108
Description
Whilst implementing this, my version was showing blanks.
When embedding the example, the issue didn't occur.
To eliminate the options being an issue, I tried using the initiation code for the example on my version and vice versa.
It was still my version that had the issue, so it must be the HTML markup.
Increasing the number of images seemed to help, but duplicating the markup, meant duplicates displayed at the same time.
My workaround is as follows...
window.setInterval(function(){
checkMissingImage();
}, 100);
function checkMissingImage() {
"use strict";
jQuery( "#ri-grid ul li a" ).each(function() {
if (jQuery(this).css('background-image') == "none" ) {
jQuery(this).css('background-image', 'url(img/reserve.png)');
}
});
}
It's probably not very efficient, but hopefully someone might find this useful or provide a better solution.
I've excluded the reserve image from the HTML markup to avoid duplicates.