mirror of
https://github.com/Oreolek/ifhub-skin.git
synced 2024-06-17 07:30:48 +03:00
18 lines
501 B
JavaScript
18 lines
501 B
JavaScript
/**
|
|
* Инициализации модулей
|
|
*
|
|
* @license GNU General Public License, version 2
|
|
* @author Alexander Yakovlev <keloero@oreolek.ru>
|
|
*/
|
|
|
|
jQuery(document).ready(function($){
|
|
$(".search-icon").on('click touchstart', function(){
|
|
$(".main-search").toggle()
|
|
});
|
|
$('.spoiler-title').on('click touchstart', function(){
|
|
$(this).toggleClass('open');
|
|
$(this).parent().children('div.spoiler-body').toggle('normal');
|
|
return false;
|
|
});
|
|
});
|