mirror of
https://github.com/Oreolek/ifhub-skin.git
synced 2024-04-28 23:29:27 +03:00
Реагировать только на событие click
Должно починить работу на мобильниках
This commit is contained in:
parent
2048edeeaa
commit
735f245107
|
@ -6,10 +6,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
jQuery(document).ready(function($){
|
jQuery(document).ready(function($){
|
||||||
$(".search-icon").on('click touchstart', function(){
|
$(".search-icon").on('click', function(){
|
||||||
$(".main-search").toggle()
|
$(".main-search").toggle()
|
||||||
});
|
});
|
||||||
$('.spoiler-title').on('click touchstart', function(){
|
$('.spoiler-title').on('click', function(){
|
||||||
$(this).toggleClass('open');
|
$(this).toggleClass('open');
|
||||||
$(this).parent().children('div.spoiler-body').toggle('normal');
|
$(this).parent().children('div.spoiler-body').toggle('normal');
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue