Skip to content

Commit

Permalink
Merge pull request #464 from nextcloud/backport/463/stable21
Browse files Browse the repository at this point in the history
[stable21] Fix body footer hiding
  • Loading branch information
skjnldsv authored Aug 13, 2021
2 parents 6fdc9f1 + 794a5a3 commit bf9bb1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/files_pdfviewer-public.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/files_pdfviewer-public.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/public.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ window.addEventListener('DOMContentLoaded', function() {
const page = location.hash.split('page=')[1] || 0
const contentElmt = document.getElementById('files-public-content')
const sharingTokenElmt = document.getElementById('sharingToken')
const footerElmt = document.querySelector('body > footer')
const footerElmt = document.querySelector('#app-content > footer')

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

0 comments on commit bf9bb1d

Please sign in to comment.