Skip to content

Commit

Permalink
that should be docMode <= 7
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Nov 22, 2010
1 parent f63c995 commit 70e6cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backbone.js
Expand Up @@ -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;
}
Expand Down

0 comments on commit 70e6cd6

Please sign in to comment.