Skip to content

Commit

Permalink
about:blank for the IE hashchange iframe support, for IE 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Nov 22, 2010
1 parent a969d67 commit 94c77e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backbone.js
Expand Up @@ -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);
Expand Down

0 comments on commit 94c77e8

Please sign in to comment.