mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-23 13:58:06 -05:00
about:blank for the IE hashchange iframe support, for IE 6.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user