summaryrefslogtreecommitdiffstats
path: root/core/src/jquery
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-03-23 07:38:34 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-03-23 08:14:19 +0100
commit8633f13e0af8c803cd419af2a611c41708e9c7c1 (patch)
tree41a081d0162fa7cf60a83aab18be6976f0b1d795 /core/src/jquery
parent5adfec3dc60636fe2da5577dee5299ec0fd9195c (diff)
downloadnextcloud-server-8633f13e0af8c803cd419af2a611c41708e9c7c1.tar.gz
nextcloud-server-8633f13e0af8c803cd419af2a611c41708e9c7c1.zip
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/jquery')
-rw-r--r--core/src/jquery/avatar.js2
-rw-r--r--core/src/jquery/contactsmenu.js2
-rw-r--r--core/src/jquery/index.js22
-rw-r--r--core/src/jquery/ocdialog.js2
-rw-r--r--core/src/jquery/requesttoken.js2
5 files changed, 15 insertions, 15 deletions
diff --git a/core/src/jquery/avatar.js b/core/src/jquery/avatar.js
index 12fcc7264ae..1d86e54e9d3 100644
--- a/core/src/jquery/avatar.js
+++ b/core/src/jquery/avatar.js
@@ -23,7 +23,7 @@
import $ from 'jquery'
-import OC from '../OC'
+import OC from '../OC/index.js'
/**
* This plugin inserts the right avatar for the user, depending on, whether a
diff --git a/core/src/jquery/contactsmenu.js b/core/src/jquery/contactsmenu.js
index 2cf2daec570..4026f48068d 100644
--- a/core/src/jquery/contactsmenu.js
+++ b/core/src/jquery/contactsmenu.js
@@ -24,7 +24,7 @@
import $ from 'jquery'
-import OC from '../OC'
+import OC from '../OC/index.js'
import { isA11yActivation } from '../Util/a11y.js'
const LIST = ''
diff --git a/core/src/jquery/index.js b/core/src/jquery/index.js
index 305b038ce37..c0716890cb3 100644
--- a/core/src/jquery/index.js
+++ b/core/src/jquery/index.js
@@ -24,17 +24,17 @@
import $ from 'jquery'
-import './avatar'
-import './contactsmenu'
-import './exists'
-import './filterattr'
-import './ocdialog'
-import './octemplate'
-import './placeholder'
-import './requesttoken'
-import './selectrange'
-import './showpassword'
-import './ui-fixes'
+import './avatar.js'
+import './contactsmenu.js'
+import './exists.js'
+import './filterattr.js'
+import './ocdialog.js'
+import './octemplate.js'
+import './placeholder.js'
+import './requesttoken.js'
+import './selectrange.js'
+import './showpassword.js'
+import './ui-fixes.js'
import './css/jquery-ui-fixes.scss'
import './css/jquery.ocdialog.scss'
diff --git a/core/src/jquery/ocdialog.js b/core/src/jquery/ocdialog.js
index 9ba54d868c3..63b8082da06 100644
--- a/core/src/jquery/ocdialog.js
+++ b/core/src/jquery/ocdialog.js
@@ -24,7 +24,7 @@
*/
import $ from 'jquery'
-import { isA11yActivation } from '../Util/a11y'
+import { isA11yActivation } from '../Util/a11y.js'
$.widget('oc.ocdialog', {
options: {
diff --git a/core/src/jquery/requesttoken.js b/core/src/jquery/requesttoken.js
index 07524966994..68858aa1534 100644
--- a/core/src/jquery/requesttoken.js
+++ b/core/src/jquery/requesttoken.js
@@ -23,7 +23,7 @@
import $ from 'jquery'
-import { getToken } from '../OC/requesttoken'
+import { getToken } from '../OC/requesttoken.js'
$(document).on('ajaxSend', function(elm, xhr, settings) {
if (settings.crossDomain === false) {