Revision 2306:9fbf8fdeea7c,
369 bytes
checked in by Nicolas <nikrou77@…>, 12 years ago
(diff) |
Fix link to contextual help for firefox; addresses 1755
|
Line | |
---|
1 | $(function() { |
---|
2 | if ($('#prelude').length > 0) { |
---|
3 | $('#prelude a') |
---|
4 | .addClass('hidden') |
---|
5 | .focus(function() { |
---|
6 | $('#prelude a').removeClass('hidden'); |
---|
7 | $('#wrapper, #help-button, #collapser').addClass('with-prelude'); |
---|
8 | }); |
---|
9 | |
---|
10 | $('body').on('click', '#prelude a[href="#help"]', function(e) { |
---|
11 | e.preventDefault(); |
---|
12 | $('#help-button a').focus(); |
---|
13 | }); |
---|
14 | } |
---|
15 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.