Skip to content

Commit

Permalink
Fix var scoping in pmc-footer
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanPak committed Feb 4, 2025
1 parent 307d4fb commit 75e6af0
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ c_icon.c_icon_url = 'https://pmc.com';
c_icon.c_icon_rel_name = 'noopener noreferrer';

data.brands.forEach( ( brand ) => {
const c_link = clonedeep( c_link_prototype );
const brand_c_link = clonedeep( c_link_prototype );

c_link.c_link_text = brand.name;
c_link.c_link_url = brand.url;
c_link.c_link_classes +=
brand_c_link.c_link_text = brand.name;
brand_c_link.c_link_url = brand.url;
brand_c_link.c_link_classes +=
' lrv-u-display-block lrv-u-background-color-brand-primary:hover lrv-u-color-white:hover lrv-u-font-weight-bold lrv-u-padding-lr-1 lrv-u-padding-tb-050';

o_nav.o_nav_list_items.push( c_link );
o_nav.o_nav_list_items.push( brand_c_link );
} );

o_nav.o_nav_title_id_attr = 'pmc-footer';
Expand Down

0 comments on commit 75e6af0

Please sign in to comment.