Skip to content

Commit bf9bb1d

Browse files
authored
Merge pull request #464 from nextcloud/backport/463/stable21
[stable21] Fix body footer hiding
2 parents 6fdc9f1 + 794a5a3 commit bf9bb1d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

js/files_pdfviewer-public.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/files_pdfviewer-public.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/public.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ window.addEventListener('DOMContentLoaded', function() {
3838
const page = location.hash.split('page=')[1] || 0
3939
const contentElmt = document.getElementById('files-public-content')
4040
const sharingTokenElmt = document.getElementById('sharingToken')
41-
const footerElmt = document.querySelector('body > footer')
41+
const footerElmt = document.querySelector('#app-content > footer')
4242

4343
const sharingToken = sharingTokenElmt.value
4444
const downloadUrl = generateUrl('/s/{token}/download', { token: sharingToken })

0 commit comments

Comments
 (0)