Dotclear

source: plugins/aboutConfig/js/index.js @ 3709:c88e69474c34

Revision 3709:c88e69474c34, 298 bytes checked in by franck <carnet.franck.paul@…>, 7 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  $('#gs_submit').hide();
6  $('#ls_submit').hide();
7  $('#gs_nav').change(function() {
8    window.location = $('#gs_nav option:selected').val();
9  });
10  $('#ls_nav').change(function() {
11    window.location = $('#ls_nav option:selected').val();
12  });
13});
Note: See TracBrowser for help on using the repository browser.

Sites map