[Pkg-javascript-commits] [backbone] 07/15: that should be docMode <= 7

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 16:59:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.3.2
in repository backbone.

commit 70e6cd65dca0dbc5fd6d356a50764fb05a94fc8f
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Mon Nov 22 12:41:04 2010 -0500

    that should be docMode <= 7
---
 backbone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backbone.js b/backbone.js
index 8f50868..188fd74 100644
--- a/backbone.js
+++ b/backbone.js
@@ -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;
       }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git



More information about the Pkg-javascript-commits mailing list