Skip to content

Commit 96a1784

Browse files
authored
Merge pull request #6472 from rubyforgood/lintfix
lintfix
2 parents 1639c78 + da74a3f commit 96a1784

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/javascript/src/casa_case.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function handleModalClose () {
162162
// re-initialized for setting modal as dropdownParent
163163
function handleDropdownSelection () {
164164
if ($('#case-selection').hasClass('select2')) {
165-
$('#case-selection').select2();
165+
$('#case-selection').select2()
166166
}
167167
}
168168

@@ -185,7 +185,7 @@ $(() => { // JQuery's callback for the DOM loading
185185
// modal id is defined in _generate_docx.html.erb so would like to be able to implement modal close logic in that file
186186
// but not sure how to
187187
$('#generate-docx-report-modal').on('hidden.bs.modal', () => handleModalClose())
188-
188+
189189
$('#generate-docx-report-modal').on('shown.bs.modal', () => handleDropdownSelection())
190190

191191
$('#btnGenerateReport').on('click', handleGenerateReport)

0 commit comments

Comments
 (0)