From 6fcd075730dbd63d5dbb69da0ca5983b51a7240e Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Mon, 20 Jul 2020 12:30:35 +0200 Subject: Use DOMContentLoaded and fix sharebymail loading issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/federatedfilesharing/js/settings-personal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/federatedfilesharing/js/settings-personal.js') diff --git a/apps/federatedfilesharing/js/settings-personal.js b/apps/federatedfilesharing/js/settings-personal.js index 407493640b1..6f01173807b 100644 --- a/apps/federatedfilesharing/js/settings-personal.js +++ b/apps/federatedfilesharing/js/settings-personal.js @@ -1,4 +1,4 @@ -$(document).ready(function() { +window.addEventListener('DOMContentLoaded', function() { $('#fileSharingSettings button.pop-up').click(function() { var url = $(this).data('url'); -- cgit v1.2.3