fac/js/admin.js
2021-08-20 17:44:19 +02:00

18 lines
603 B
JavaScript

/* -- BEGIN LICENSE BLOCK ----------------------------------
* This file is part of fac, a plugin for Dotclear 2.
*
* Copyright (c) 2009-2010 JC Denis and contributors
* jcdenis@gdwd.com
*
* Licensed under the GPL version 2.0 license.
* A copy of this license is available in LICENSE file or at
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* -- END LICENSE BLOCK ------------------------------------*/
$(function(){
/* toogle admin form sidebar */
$('#fac h5').toggleWithLegend(
$('#fac').children().not('h5'),
{cookie:'dcx_fac_admin_form_sidebar',legend_click:true}
);
});