Skip to content

Commit

Permalink
fix: Clear loading timeout when guest name is asked
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliushaertl authored and backportbot[bot] committed Jan 31, 2024
1 parent 4bdc7cf commit 353fa58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ addEventListener('DOMContentLoaded', () => {
if (deprecated) { return }

switch (msgId) {
case 'NC_ShowNamePicker':
clearTimeout(odfViewer.loadingTimeout)
break
case 'loading':
odfViewer.onReceiveLoading()
break
Expand Down

0 comments on commit 353fa58

Please sign in to comment.