spip_nursit/plugins-dist/dist/nursit/zen-garden/inclure/zengarden_switcher.js

9 lines
197 B
JavaScript
Raw Permalink Normal View History

2023-06-01 15:30:12 +00:00
jQuery(function() {
jQuery("#switcher_zen select")
.change(function(){
jQuery(this).parents('form').get(0).submit();
})
.val(theme_selected)
.siblings("input[type=submit]").hide();
});