[Pkg-javascript-commits] [backbone] 60/74: making the iframe tabindex -1

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


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

js pushed a commit to tag 0.3.0
in repository backbone.

commit 6443b7306983e47078658621500dc9ab9d5262be
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Mon Nov 8 15:01:57 2010 -0500

    making the iframe tabindex -1
---
 backbone.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backbone.js b/backbone.js
index 7d11ced..a8010f1 100644
--- a/backbone.js
+++ b/backbone.js
@@ -648,7 +648,7 @@
     // an existing route, and false otherwise.
     start : function() {
       if ($.browser.msie && $.browser.version < 8) {
-        this.iframe = $('<iframe src="javascript:0"/>').hide().appendTo('body')[0].contentWindow;
+        this.iframe = $('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo('body')[0].contentWindow;
       }
       if ('onhashchange' in window) {
         $(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