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

github.com/ONLYOFFICE/onlyoffice-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorSergey Linnik <sergey.linnik@onlyoffice.com>2018-03-19 17:50:34 +0300
committerSergey Linnik <sergey.linnik@onlyoffice.com>2018-03-20 10:25:43 +0300
commit5700aba9285f64b57d3f9f21db785d430123b92d (patch)
treead5651aa921deb9cab48ab0219eb42329c3f5e17 /js
parent7c7e069e7e6f32b9074e043124b1c13fd239efe8 (diff)
view shared file without conversion
Diffstat (limited to 'js')
-rw-r--r--js/public.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/public.js b/js/public.js
index 9465d40..e234735 100644
--- a/js/public.js
+++ b/js/public.js
@@ -50,8 +50,7 @@
OCA.Onlyoffice.mimes = mimes;
var conf = OCA.Onlyoffice.mimes[extension];
- if (conf && conf.edit) {
-
+ if (conf) {
var button = document.createElement("a");
button.href = OC.generateUrl("apps/" + OCA.Onlyoffice.AppName + "/s/" + $('#sharingToken').val());
button.className = "button";