Changeset 85877 in spip-zone


Ignore:
Timestamp:
Nov 6, 2014, 9:28:29 AM (5 years ago)
Author:
marcimat@…
Message:

Sélectionner le bon élément du switcher (plus simplement)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/zen-garden/trunk/inclure/zengarden_switcher.js

    r85874 r85877  
    44                        jQuery(this).parents('form').get(0).submit();
    55                })
    6           .siblings("input[type=submit]").hide();
    7         jQuery('#switcher_zen select option[value="'+theme_selected+'"]')
    8         .attr('selected', 'selected');
     6                .val(theme_selected)
     7                .siblings("input[type=submit]").hide();
    98});
Note: See TracChangeset for help on using the changeset viewer.