summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-20 12:30:35 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-20 12:42:08 +0200
commit6fcd075730dbd63d5dbb69da0ca5983b51a7240e (patch)
tree3b91e443159f6322e9af53bf495c17bd76c0ab7b /core/src
parentb2e3466005f8fec7a753b078871f54c9fd5debb8 (diff)
downloadnextcloud-server-6fcd075730dbd63d5dbb69da0ca5983b51a7240e.tar.gz
nextcloud-server-6fcd075730dbd63d5dbb69da0ca5983b51a7240e.zip
Use DOMContentLoaded and fix sharebymail loading issue
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/OC/routing.js2
-rw-r--r--core/src/components/login/PasswordLessLoginForm.vue6
-rw-r--r--core/src/install.js2
-rw-r--r--core/src/main.js2
4 files changed, 6 insertions, 6 deletions
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 @@
</fieldset>
</form>
<div v-else-if="!hasPublicKeyCredential">
- {{ t('core', 'Passwordless authentication is not supported in your browser.')}}
+ {{ t('core', 'Passwordless authentication is not supported in your browser.') }}
</div>
<div v-else-if="!isHttps">
- {{ t('core', 'Passwordless authentication is only available over a secure connection.')}}
+ {{ t('core', 'Passwordless authentication is only available over a secure connection.') }}
</div>
</template>
@@ -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()