Skip to content

Commit

Permalink
fix: facilities appear twice, make sure we only show one
Browse files Browse the repository at this point in the history
this line was duplicating the content
I added it because a month ago this seemed to have fixed the appearance
of facilities. before they were not appearing.
  • Loading branch information
milafrerichs committed Jan 13, 2021
1 parent 4ed20ba commit d89f562
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/js/profile/profile_header.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ export class Profile_header extends Observable {
facilityWrapper.prepend(facilityItem);
})

$('.location__facilities .location__facilities_content').append(facilityWrapper);
$('.location__facilities_header').removeClass('hidden');
$('.location__facilities_trigger').removeClass('hidden');
$('.location__facilities_categories-value strong').text(categoryArr.length);
Expand Down

0 comments on commit d89f562

Please sign in to comment.