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) --- core/src/OC/routing.js | 2 +- core/src/components/login/PasswordLessLoginForm.vue | 6 +++--- core/src/install.js | 2 +- core/src/main.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'core/src') diff --git a/core/src/OC/routing.js b/core/src/OC/routing.js index b6f32e11559..7895b958c81 100644 --- a/core/src/OC/routing.js +++ b/core/src/OC/routing.js @@ -20,7 +20,7 @@ */ import { - getRootUrl as realGetRootUrl + getRootUrl as realGetRootUrl, } from '@nextcloud/router' /** diff --git a/core/src/components/login/PasswordLessLoginForm.vue b/core/src/components/login/PasswordLessLoginForm.vue index 028f7d547da..5326ab7a5f3 100644 --- a/core/src/components/login/PasswordLessLoginForm.vue +++ b/core/src/components/login/PasswordLessLoginForm.vue @@ -30,10 +30,10 @@
- {{ t('core', 'Passwordless authentication is not supported in your browser.')}} + {{ t('core', 'Passwordless authentication is not supported in your browser.') }}
- {{ t('core', 'Passwordless authentication is only available over a secure connection.')}} + {{ t('core', 'Passwordless authentication is only available over a secure connection.') }}
@@ -76,7 +76,7 @@ export default { hasPublicKeyCredential: { type: Boolean, default: false, - } + }, }, data() { return { diff --git a/core/src/install.js b/core/src/install.js index 43957acb9be..c89380bed58 100644 --- a/core/src/install.js +++ b/core/src/install.js @@ -10,7 +10,7 @@ import 'jquery-ui/themes/base/button.css' import 'strengthify' import 'strengthify/strengthify.css' -$(document).ready(function() { +window.addEventListener('DOMContentLoaded', function() { const dbtypes = { sqlite: !!$('#hasSQLite').val(), mysql: !!$('#hasMySQL').val(), diff --git a/core/src/main.js b/core/src/main.js index 21213d7279e..492ac37c4ac 100644 --- a/core/src/main.js +++ b/core/src/main.js @@ -33,7 +33,7 @@ import './jquery/index' import { initCore } from './init' import { registerAppsSlideToggle } from './OC/apps' -$(document).ready(function() { +window.addEventListener('DOMContentLoaded', function() { initCore() registerAppsSlideToggle() -- cgit v1.2.3