Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

docMode does not exist in IE < 8

  • Loading branch information...
commit d574c9f732b3a12df8c36652f822c4928e9c4fb7 1 parent 70e6cd6
Jeremy Ashkenas authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  backbone.js
2  backbone.js
View
@@ -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 || docMode <= 7));
if (oldIE) {
this.iframe = $('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo('body')[0].contentWindow;
}
Please sign in to comment.
Something went wrong with that request. Please try again.