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
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/files.js b/src/files.js
index 180ba58c..c1e366e5 100644
--- a/src/files.js
+++ b/src/files.js
@@ -145,7 +145,7 @@ const odfViewer = {
reloadForFederationCSP(fileName)
}
- OC.addStyle('richdocuments', 'mobile')
+ $('head').append($('<link rel="stylesheet" type="text/css" href="' + OC.filePath('richdocuments', 'css', 'mobile.css') + '"/>'))
var $iframe = $('<iframe id="richdocumentsframe" nonce="' + btoa(OC.requestToken) + '" scrolling="no" allowfullscreen src="' + documentUrl + '" />')
odfViewer.loadingTimeout = setTimeout(function() {