| Revision 3709:c88e69474c34,
425 bytes
checked in by franck <carnet.franck.paul@…>, 8 years ago
(diff) |
|
use strict and no more linter warnings/errors as far as possible, switch from inline js to separate loaded file
|
| Line | |
|---|
| 1 | /*global $ */ |
|---|
| 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 | }); |
|---|
Note: See
TracBrowser
for help on using the repository browser.