aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/jquery/exists.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-12-02 18:32:57 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-08 10:14:05 +0100
commit74b980310852a0b406fa9d073870f92c409d5444 (patch)
tree055cbdf57886077bf3a6ea476813deedb54064e0 /core/src/jquery/exists.js
parent85bc8513557f5ff37fc283d53893d4cb77ec7c3b (diff)
downloadnextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.tar.gz
nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.zip
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/jquery/exists.js')
-rw-r--r--core/src/jquery/exists.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/jquery/exists.js b/core/src/jquery/exists.js
index 22fed55badb..4006982a8b6 100644
--- a/core/src/jquery/exists.js
+++ b/core/src/jquery/exists.js
@@ -26,8 +26,9 @@ import $ from 'jquery'
/**
* check if an element exists.
* allows you to write if ($('#myid').exists()) to increase readability
+ *
* @link http://stackoverflow.com/questions/31044/is-there-an-exists-function-for-jquery
- * @returns {boolean}
+ * @return {boolean}
*/
$.fn.exists = function() {
return this.length > 0