From 118c6c59e07d00b702e05b31955c4ee1714e881b Mon Sep 17 00:00:00 2001 From: Веталь Date: Fri, 7 Oct 2016 13:18:23 +0300 Subject: [PATCH] test commit --- frontend/web/css/css_header.css | 3 ++- frontend/web/js/script.js | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/frontend/web/css/css_header.css b/frontend/web/css/css_header.css index 0760885..46d2700 100755 --- a/frontend/web/css/css_header.css +++ b/frontend/web/css/css_header.css @@ -14518,8 +14518,9 @@ ul.product-special li.promo div{ width: 100%; float: left; margin-bottom: 20px; + color:#0f6fc7; } - +.news_item a.name:hover {color:#0f6fc7;} .news_item a { font-size: 16px } diff --git a/frontend/web/js/script.js b/frontend/web/js/script.js index 9d9423c..d4deb4d 100755 --- a/frontend/web/js/script.js +++ b/frontend/web/js/script.js @@ -110,14 +110,14 @@ $(document).on('click', '#buyForm .cart_remove', function() { }); /* Category filter open submenu */ -$(document).on('click', '.properties_block', function(e) { - var active = $(this).hasClass('opened'); +$(document).on('click', '.block_title', function(e) { + var active = $(this).parent().hasClass('opened'); if(active) { - $(this).removeClass('opened').addClass('closed'); - $(this).find('.chechboxes').hide(); + $(this).parent().removeClass('opened').addClass('closed'); + $(this).parent().find('.chechboxes').hide(); } else { - $(this).removeClass('closed').addClass('opened'); - $(this).find('.chechboxes').show(); + $(this).parent().removeClass('closed').addClass('opened'); + $(this).parent().find('.chechboxes').show(); } }); /* End Category filter open submenu */ -- libgit2 0.21.4