From 44e99254389a5af6c2adebe2bfb03fb0e2f32f58 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 17 May 2012 15:30:00 +0100 Subject: Patch fancybox to work under SSL on IE6 without warning. --- web/js/fancybox/jquery.fancybox-1.3.4.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/js/fancybox/jquery.fancybox-1.3.4.js') diff --git a/web/js/fancybox/jquery.fancybox-1.3.4.js b/web/js/fancybox/jquery.fancybox-1.3.4.js index be7727537..728aa6a51 100644 --- a/web/js/fancybox/jquery.fancybox-1.3.4.js +++ b/web/js/fancybox/jquery.fancybox-1.3.4.js @@ -943,7 +943,7 @@ $(window).unbind("resize.fb scroll.fb"); $(document).unbind('keydown.fb'); - content.find('iframe').attr('src', isIE6 && /^https/i.test(window.location.href || '') ? 'javascript:void(false)' : 'about:blank'); + content.find('iframe').attr('src', isIE6 && /^https/i.test(window.location.href || '') ? '/js/fancybox/blank.gif' : 'about:blank'); if (currentOpts.titlePosition !== 'inside') { title.empty(); @@ -1090,7 +1090,7 @@ loading.addClass('fancybox-ie6'); wrap.addClass('fancybox-ie6'); - $('').prependTo(outer); + $('').prependTo(outer); } }; @@ -1153,4 +1153,4 @@ $.fancybox.init(); }); -})(jQuery); \ No newline at end of file +})(jQuery); -- cgit v1.2.3