Line | |
---|
1 | /*global $, dotclear */ |
---|
2 | 'use strict'; |
---|
3 | |
---|
4 | $(function() { |
---|
5 | $('#gp_submit,#lp_submit').hide(); |
---|
6 | $('#part-local,#part-global').tabload(function() { |
---|
7 | $('.multi-part.active select.navigation option:first').attr('selected', true); |
---|
8 | }); |
---|
9 | $('#gp_nav').change(function() { |
---|
10 | window.location = $('#gp_nav option:selected').val(); |
---|
11 | }); |
---|
12 | $('#lp_nav').change(function() { |
---|
13 | window.location = $('#lp_nav option:selected').val(); |
---|
14 | }); |
---|
15 | dotclear.responsiveCellHeaders(document.querySelector('table.prefs'), 'table.prefs', 0, true); |
---|
16 | $('table.prefs').addClass('rch rch-thead'); |
---|
17 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.