Skip to content

Commit 794a5a3

Browse files
skjnldsvnextcloud-command
authored andcommitted
Fix body footer hiding
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 6fdc9f1 commit 794a5a3

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)