spip_nursit/plugins-dist/dist/nursit/zen-garden/inclure/zengarden_switcher.js
2023-06-01 17:30:12 +02:00

8 lines
197 B
JavaScript

jQuery(function() {
jQuery("#switcher_zen select")
.change(function(){
jQuery(this).parents('form').get(0).submit();
})
.val(theme_selected)
.siblings("input[type=submit]").hide();
});