bitbonsai / facyBox

A jQuery-based, Facebook/Fancybox-style lightbox which can display images, divs, or entire remote pages. Based on fancybox.net and famspam.com/facebox

Home Page:http://bitbonsai.com/facybox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Preloading images in Firefox doesn't work

rmm5t opened this issue · comments

Firefox wasn't preloading images because the regex used to pull the image URL out of the background-image CSS didn't cover the format that Firefox uses (surrounding double quotes). This branch fixes this problem.

http://github.com/rmm5t/facyBox/tree/fix_preload_images

Relelvant commit:

http://github.com/rmm5t/facyBox/commit/a3ce2866171ac612f6b3b75770f8ae58a66c7331

Thanks for submitting this patch. I cut/pasted the changed line into my project and it fixed the issue for me as well.

This issue was closed with a pull from cco3 that prevents background-image: none to being fetched...