Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/document.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/document.js b/src/document.js
index b1286475..c43692b6 100644
--- a/src/document.js
+++ b/src/document.js
@@ -195,6 +195,7 @@ const documentsMain = {
$('#revViewer').append(form)
$('#revViewer').append(frame)
+ $('#loleafletframe_viewer').focus()
// submit that
$('#loleafletform_viewer').submit()
@@ -250,6 +251,7 @@ const documentsMain = {
$('#mainContainer').append(form)
$('#mainContainer').append(frame)
+ $('#loleafletframe').focus()
emit('richdocuments:wopi-load:started', {
wopiFileId: fileId,