Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Added toggle attribute to explore page filter toggle #932

Merged
merged 1 commit into from
Dec 1, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _explore/economic-impact/gdp.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h1>Gross Domestic Product</h1>
</div>
<section class="container-right-8">
<div class="filters-wrapper slab-foxtrot container">
<button class="toggle-filters toggle-desktop" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters">Show Filters</button>
<button class="toggle-filters toggle-desktop" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>

<form id="filters" aria-hidden="true" class="filters">
<div class="filters-heading">
Expand Down Expand Up @@ -103,7 +103,7 @@ <h3>Filter</h3>
</form>

<div class="container-outer">
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters">Show Filters</button>
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions _explore/production/production-federal.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>Federal Production</h1>
<div class="filters-wrapper slab-foxtrot">
<button class="toggle-filters toggle-desktop" is="eiti-toggle"
aria-controls="filters" aria-expanded="false"
data-expanded-text="Hide Filters">Show Filters</button>
data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>

<form id="filters" aria-hidden="true" class="filters container-outer">

Expand Down Expand Up @@ -85,7 +85,7 @@ <h3>Filter revenue</h3>
</form>

<div class="container-outer">
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters">Show Filters</button>
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions _explore/revenue/federal-revenue-by-location.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>Federal Revenue by Location</h1>
</div>
<section class="container-right-8">
<div class="filters-wrapper slab-foxtrot container">
<button class="toggle-filters toggle-desktop" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters">Show Filters</button>
<button class="toggle-filters toggle-desktop" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>

<form id="filters" aria-hidden="true" class="filters">
<div class="filters-heading">
Expand Down Expand Up @@ -79,7 +79,7 @@ <h3>Filter revenue</h3>
</form>

<div class="container-outer">
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters">Show Filters</button>
<button class="toggle-filters toggle" is="eiti-toggle" aria-controls="filters" data-expanded-text="Hide Filters" data-toggler="filters">Show Filters</button>
</div>

</div>
Expand Down