From 95bf6737709856a2c14dd759007b451fe03813fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 25 Oct 2023 13:55:14 +0200 Subject: [PATCH] fix: Clear loading timeout when guest name is asked MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/files.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/files.js b/src/files.js index 85905567a3..92f2a50a3e 100644 --- a/src/files.js +++ b/src/files.js @@ -266,6 +266,9 @@ addEventListener('DOMContentLoaded', () => { if (deprecated) { return } switch (msgId) { + case 'NC_ShowNamePicker': + clearTimeout(odfViewer.loadingTimeout) + break case 'loading': odfViewer.onReceiveLoading() break