aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/public_note.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/js/public_note.js')
-rw-r--r--apps/files_sharing/js/public_note.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public_note.js b/apps/files_sharing/js/public_note.js
index a303d6c7675..ec856e48dc3 100644
--- a/apps/files_sharing/js/public_note.js
+++ b/apps/files_sharing/js/public_note.js
@@ -20,7 +20,7 @@
*
*/
- $(document).ready(function() {
+ window.addEventListener('DOMContentLoaded', function() {
var noteElmt = document.getElementById('notemenu')
if (noteElmt) {
var noteHtml = noteElmt.outerHTML