diff options
Diffstat (limited to 'core/src/jquery/exists.js')
-rw-r--r-- | core/src/jquery/exists.js | 3 |
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 |