[Pkg-javascript-commits] [backbone] 12/15: Revert "about:blank for the IE hashchange iframe support, for IE 6."

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 9e1fcfad588e7f03f3d29de8b12ad7cd2b5fe27e
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Mon Nov 22 17:37:41 2010 -0500

    Revert "about:blank for the IE hashchange iframe support, for IE 6."
    
    This reverts commit 94c77e84f47491b7dd59822364c5ce2ebabc81d2.
---
 backbone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backbone.js b/backbone.js
index 001791e..f8b9b0f 100644
--- a/backbone.js
+++ b/backbone.js
@@ -679,7 +679,7 @@
       var docMode = document.documentMode;
       var oldIE = ($.browser.msie && (!docMode || docMode <= 7));
       if (oldIE) {
-        this.iframe = $('<iframe src="about:blank" tabindex="-1" />').hide().appendTo('body')[0].contentWindow;
+        this.iframe = $('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo('body')[0].contentWindow;
       }
       if ('onhashchange' in window && !oldIE) {
         $(window).bind('hashchange', this.checkUrl);

-- 
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