15 lines
401 B
JavaScript
15 lines
401 B
JavaScript
/**
|
|
* Инициализации модулей
|
|
*
|
|
* @license GNU General Public License, version 2
|
|
* @author Alexander Yakovlev <keloero@oreolek.ru>
|
|
*/
|
|
|
|
jQuery(document).ready(function($){
|
|
$('.spoiler-title').on('click touchstart', function(){
|
|
$(this).toggleClass('open');
|
|
$(this).parent().children('div.spoiler-body').toggle('normal');
|
|
return false;
|
|
});
|
|
});
|