diff options
Diffstat (limited to 'apps/encryption/js/encryption.js')
-rw-r--r-- | apps/encryption/js/encryption.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/encryption/js/encryption.js b/apps/encryption/js/encryption.js index 361347b44b7..6157387c663 100644 --- a/apps/encryption/js/encryption.js +++ b/apps/encryption/js/encryption.js @@ -1,8 +1,7 @@ /** - * Copyright (c) 2014 - * Bjoern Schiessle <schiessle@owncloud.com> - * This file is licensed under the Affero General Public License version 3 or later. - * See the COPYING-README file. + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2014-2015 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later */ /** @@ -25,7 +24,7 @@ OC.Encryption = _.extend(OC.Encryption || {}, { ); } }); -$(document).ready(function() { +window.addEventListener('DOMContentLoaded', function() { // wait for other apps/extensions to register their event handlers and file actions // in the "ready" clause _.defer(function() { |