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