diff --git a/src/document.js b/src/document.js
index 9f0d860e1d..f5e68db3bb 100644
--- a/src/document.js
+++ b/src/document.js
@@ -206,7 +206,7 @@ const documentsMain = {
+ ''
// iframe that contains the Collabora Online Viewer
- const frame = ''
+ const frame = ''
$('#revViewer').append(form)
$('#revViewer').append(frame)
@@ -266,7 +266,7 @@ const documentsMain = {
+ ''
// iframe that contains the Collabora Online
- const frame = ''
+ const frame = ''
$('#mainContainer').append(form)
$('#mainContainer').append(frame)
diff --git a/src/files.js b/src/files.js
index 3eb5b6b710..c3b3dc2dea 100644
--- a/src/files.js
+++ b/src/files.js
@@ -95,7 +95,7 @@ const odfViewer = {
$('head').append($(''))
- const $iframe = $('')
+ const $iframe = $('')
odfViewer.loadingTimeout = setTimeout(odfViewer.onTimeout,
(OC.getCapabilities().richdocuments.config.timeout * 1000 || 15000))
$iframe.src = documentUrl