Improve detection of whether we're in the files app

remotes/origin/ldap_group_count
Robin Appelman 11 years ago committed by Bjoern Schiessle
parent 21ced89beb
commit 30f5b2bd7c
  1. 2
      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');

Loading…
Cancel
Save