Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Commit

Permalink
Merge pull request #523 from jmcarp/feature/fix-candidate-filings
Browse files Browse the repository at this point in the history
Restore "data-table" class.
  • Loading branch information
Noah Manger committed Aug 26, 2015
2 parents 560b9c0 + 8b61d26 commit c085848
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion static/js/pages/candidate-single.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var columns = [
];

$(document).ready(function() {
var $table = $('table.data-table');
var $table = $('table[data-type="filing"]');
var $form = $('#category-filters');
var candidateId = $table.attr('data-candidate');
var path = ['candidate', candidateId, 'filings'].join('/');
Expand Down
2 changes: 1 addition & 1 deletion templates/candidates-single.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<header class="page-header slab slab--primary">
<h1 class="page-header__title">Candidates</h1>
{{ search.search('page-header', 'candidates') }}
</header>
</header>
<header class="page-header entity__header">
<div class="container">
<div class="entity__header--top row">
Expand Down
2 changes: 1 addition & 1 deletion templates/partials/filings-tab-candidate.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h2 class="section-heading" id="section-4-heading">Candidate Filings {% include
</form>
</div>
</div>
<table class="datatable" data-type="filing" data-candidate="{{ candidate_id }}" width="100%" class="responsive">
<table class="data-table" data-type="filing" data-candidate="{{ candidate_id }}" width="100%" class="responsive">
<thead>
<tr>
<th scope="col">Document</th>
Expand Down

0 comments on commit c085848

Please sign in to comment.