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

Restore "data-table" class. #523

Merged
merged 1 commit into from
Aug 26, 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
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