From ebe2d9929982339004cd91cf1dd91b0d26cba19e Mon Sep 17 00:00:00 2001 From: summerscope Date: Fri, 19 Dec 2014 12:53:26 +1100 Subject: [PATCH] Change markup because the boolean variable now works correctly --- app/views/shop/products/_filters.html.haml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/shop/products/_filters.html.haml b/app/views/shop/products/_filters.html.haml index a62361465c..395e6f123d 100644 --- a/app/views/shop/products/_filters.html.haml +++ b/app/views/shop/products/_filters.html.haml @@ -1,8 +1,8 @@ -.row.animate-show{"ng-show" => "filtersActive"} +.row.animate-show{"ng-hide" => "filtersActive"} .small-12.columns = render partial: 'shared/components/filter_controls_shopfront' -.row.filter-box.filter-box-shopfront.animate-hide{"ng-hide" => "filtersActive"} +.row.filter-box.filter-box-shopfront.animate-hide{"ng-show" => "filtersActive"} .small-12.columns .row.tdhead .small-12.medium-6.columns @@ -10,8 +10,9 @@ .light Filter by Category .small-12.medium-6.columns.text-right - = render partial: 'shared/components/filter_controls_shopfront' = render partial: 'shared/components/filter_box_shopfront' + = render partial: 'shared/components/filter_controls_shopfront' + .row .small-12.columns %ul.small-block-grid-2.medium-block-grid-3.large-block-grid-4