diff options
Diffstat (limited to 'apps/files_sharing/js/public_note.js')
-rw-r--r-- | apps/files_sharing/js/public_note.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/apps/files_sharing/js/public_note.js b/apps/files_sharing/js/public_note.js deleted file mode 100644 index 33cadae115d..00000000000 --- a/apps/files_sharing/js/public_note.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors - * SPDX-License-Identifier: AGPL-3.0-or-later - */ - - window.addEventListener('DOMContentLoaded', function() { - var noteElmt = document.getElementById('notemenu') - if (noteElmt) { - var noteHtml = noteElmt.outerHTML - $(noteHtml).insertBefore('#header-primary-action'); - $('#notemenu').removeClass('hidden'); - OC.registerMenu($('#notemenu .menutoggle'), $('#notemenu .menu')) - } - })
\ No newline at end of file |