diff options
author | Sergey Linnik <sergey.linnik@onlyoffice.com> | 2018-03-19 17:50:34 +0300 |
---|---|---|
committer | Sergey Linnik <sergey.linnik@onlyoffice.com> | 2018-03-20 10:25:43 +0300 |
commit | 5700aba9285f64b57d3f9f21db785d430123b92d (patch) | |
tree | ad5651aa921deb9cab48ab0219eb42329c3f5e17 | |
parent | 7c7e069e7e6f32b9074e043124b1c13fd239efe8 (diff) |
view shared file without conversion
-rw-r--r-- | js/public.js | 3 |
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"; |