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

Commit

Permalink
Creates a separate class to control styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Manger committed Sep 3, 2015
1 parent a382819 commit bb54808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion static/js/modules/filings.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var renderModal = tables.modalRenderFactory(

function renderRow(row, data, index) {
if (data.form_type && data.form_type.match(/^F3[XP]?$/)) {
row.classList.add(tables.MODAL_TRIGGER_CLASS);
row.classList.add(tables.MODAL_TRIGGER_CLASS, 'row--has-panel');
}
}

Expand Down
2 changes: 1 addition & 1 deletion static/js/modules/tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ var MODAL_TRIGGER_CLASS = 'js-panel-trigger';
var MODAL_TRIGGER_HTML = '<i class="icon arrow--right"></li>';

function modalRenderRow(row, data, index) {
row.classList.add(MODAL_TRIGGER_CLASS);
row.classList.add(MODAL_TRIGGER_CLASS, 'row--has-panel');
}

function modalRenderFactory(template, fetch) {
Expand Down

0 comments on commit bb54808

Please sign in to comment.