Skip to content

Commit 53273d8

Browse files
committed
Fix un-unique modal accessor
1 parent 2e5240b commit 53273d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

static/scripts/teams.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ $(document).ready(() => {
159159
}
160160
});
161161

162-
$('.file-download-modal form').on('submit', (e) => {
162+
$('.file-team-download-modal form').on('submit', (e) => {
163163
e.stopPropagation();
164164
e.preventDefault();
165165

views/teams/team.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
{{#if (getConfig "FEATURE_TEAM_ARCHIVE_DOWNLOAD")}}
280280
{{#if useNextcloud}}
281281
{{#if nextcloudUrl}}
282-
{{#embed "lib/components/modal-form" class="file-download-modal" title=($t
282+
{{#embed "lib/components/modal-form" class="file-team-download-modal" title=($t
283283
"global.headline.downloadAllFiles")}}
284284
{{#content "fields"}}
285285
<p>{{{$t "global.text.downloadHint" (dict "nextcloudUrl" ../nextcloudUrl)}}}</p>

0 commit comments

Comments
 (0)