[Pkg-javascript-commits] [backbone] 11/15: 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 94c77e84f47491b7dd59822364c5ce2ebabc81d2
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Mon Nov 22 15:35:51 2010 -0500
about:blank for the IE hashchange iframe support, for IE 6.
---
backbone.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backbone.js b/backbone.js
index f8b9b0f..001791e 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="javascript:0" tabindex="-1" />').hide().appendTo('body')[0].contentWindow;
+ this.iframe = $('<iframe src="about:blank" 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