about:blank for the IE hashchange iframe support, for IE 6.

This commit is contained in:
Jeremy Ashkenas
2010-11-22 15:35:51 -05:00
parent a969d670c7
commit 94c77e84f4

View File

@@ -679,7 +679,7 @@
var docMode = document.documentMode;
var oldIE = ($.browser.msie && (!docMode || docMode <= 7));
if (oldIE) {
this.iframe = $('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo('body')[0].contentWindow;
this.iframe = $('<iframe src="about:blank" tabindex="-1" />').hide().appendTo('body')[0].contentWindow;
}
if ('onhashchange' in window && !oldIE) {
$(window).bind('hashchange', this.checkUrl);