mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Improve detection of whether we're in the files app
This commit is contained in:
parent
21ced89beb
commit
30f5b2bd7c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue