提交 a71ad9c0 编写于 作者: K kohsuke

improving the keyboard navigability by not setting focus on the help icon.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35459 71c3de6d-444a-0410-be80-ed276b4c234a
上级 4a33e0c3
......@@ -2,7 +2,7 @@
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi,
* Daniel Dyer, Yahoo! Inc., Alan Harder
* Daniel Dyer, Yahoo! Inc., Alan Harder, InfraDNA, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
......@@ -635,7 +635,8 @@ var hudsonRules = {
}
return false;
}
};
e.tabIndex = 9999; // make help link unnavigable from keyboard
e = null; // avoid memory leak
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册