diff options
-rw-r--r-- | apps/files_sharing/js/external.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/external.js b/apps/files_sharing/js/external.js index 1e46b35c53b..5e133db2f57 100644 --- a/apps/files_sharing/js/external.js +++ b/apps/files_sharing/js/external.js @@ -37,7 +37,7 @@ $(document).ready(function () { } }; - if (window.FileList && window.FileList.appName === 'Files') {// only run in the files app + if (OCA.Files) {// only run in the files app var hash = location.hash; location.hash = ''; var remote = getParameterByName(hash, 'remote'); |