diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-05-17 15:30:00 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-05-17 15:30:00 +0100 |
commit | 44e99254389a5af6c2adebe2bfb03fb0e2f32f58 (patch) | |
tree | 66efcae784acb939197d77cfd150e0b960f807f8 /web/js/fancybox/jquery.fancybox-1.3.4.js | |
parent | 99b5545084a3f20c310c4d06475fc18a98fc31de (diff) |
Patch fancybox to work under SSL on IE6 without warning.
Diffstat (limited to 'web/js/fancybox/jquery.fancybox-1.3.4.js')
-rw-r--r-- | web/js/fancybox/jquery.fancybox-1.3.4.js | 6 |
1 files changed, 3 insertions, 3 deletions
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');
- $('<iframe id="fancybox-hide-sel-frame" src="' + (/^https/i.test(window.location.href || '') ? 'javascript:void(false)' : 'about:blank' ) + '" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(outer);
+ $('<iframe id="fancybox-hide-sel-frame" src="' + (/^https/i.test(window.location.href || '') ? '/js/fancybox/blank.gif' : 'about:blank' ) + '" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(outer);
}
};
@@ -1153,4 +1153,4 @@ $.fancybox.init();
});
-})(jQuery);
\ No newline at end of file +})(jQuery);
|