get rid of jquery.browser warnings by removing msie hacks in two places, live update and fancybox
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
|
||||
titleHeight = 0, titleStr = '', start_pos, final_pos, busy = false, fx = $.extend($('<div/>')[0], { prop: 0 }),
|
||||
|
||||
isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest,
|
||||
isIE6 = false,
|
||||
// $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest,
|
||||
|
||||
/*
|
||||
* Private methods
|
||||
@@ -612,7 +613,7 @@
|
||||
}
|
||||
|
||||
if (currentOpts.type == 'iframe') {
|
||||
$('<iframe id="fancybox-frame" name="fancybox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" ' + ($.browser.msie ? 'allowtransparency="true""' : '') + ' scrolling="' + selectedOpts.scrolling + '" src="' + currentOpts.href + '"></iframe>').appendTo(content);
|
||||
$('<iframe id="fancybox-frame" name="fancybox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" ' + ' scrolling="' + selectedOpts.scrolling + '" src="' + currentOpts.href + '"></iframe>').appendTo(content);
|
||||
}
|
||||
|
||||
wrap.show();
|
||||
|
Reference in New Issue
Block a user