Commit 47f92a1 1 parent 4767814 commit 47f92a1 Copy full SHA for 47f92a1
File tree 1 file changed +2
-2
lines changed
templates/components/products
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
{{/if}}
7
7
{{#if product.similar_by_views}}
8
8
< li class ="tab{{#unless product.related_products}} is-active{{/unless}} " role ="presentational ">
9
- < a class ="tab-title " href ="#tab-similar " role ="tab " tabindex ="0 " aria-selected ="false " controls ="tab-similar "> {{lang 'products.similar_by_views'}}</ a >
9
+ < a class ="tab-title " href ="#tab-similar " role ="tab " tabindex ="0 " aria-selected ="{{#if product.related_products}} false{{else}}true{{/if}} " controls ="tab-similar "> {{lang 'products.similar_by_views'}}</ a >
10
10
</ li >
11
11
{{/if}}
12
12
</ ul >
19
19
{{/if}}
20
20
21
21
{{#if product.similar_by_views}}
22
- < div role ="tabpanel " aria-hidden ="true " class ="tab-content has-jsContent{{#unless product.related_products}} is-active{{/unless}} " id ="tab-similar ">
22
+ < div role ="tabpanel " aria-hidden ="{{#if product.related_products}} true{{else}}false{{/if}} " class ="tab-content has-jsContent{{#unless product.related_products}} is-active{{/unless}} " id ="tab-similar ">
23
23
{{> components/products/carousel products=product.similar_by_views columns=6}}
24
24
</ div >
25
25
{{/if}}
You can’t perform that action at this time.
0 commit comments