that should be docMode <= 7

This commit is contained in:
Jeremy Ashkenas
2010-11-22 12:41:04 -05:00
parent f63c99511e
commit 70e6cd65dc

View File

@@ -675,7 +675,7 @@
// an existing route, and `false` otherwise.
start : function() {
var docMode = document.documentMode;
var oldIE = ($.browser.msie && docMode < 7);
var oldIE = ($.browser.msie && docMode <= 7);
if (oldIE) {
this.iframe = $('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo('body')[0].contentWindow;
}