summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/core
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-10-09 16:50:29 +0200
committerXavier Morel <xmo@odoo.com>2017-10-09 16:50:47 +0200
commit03a2a571636657c90b2d344f2ed83cbe6459c081 (patch)
tree7155138b952c8fd98255cee25c59b554fbaebcd8 /addons/web/static/src/js/core
parente792bdbcafaaab2b1a9442ea6c5fd64e79e913fc (diff)
[FIX] unfuck JS docstrings
Diffstat (limited to 'addons/web/static/src/js/core')
-rw-r--r--addons/web/static/src/js/core/dom.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/addons/web/static/src/js/core/dom.js b/addons/web/static/src/js/core/dom.js
index b39f39cab9c..274f82bcc53 100644
--- a/addons/web/static/src/js/core/dom.js
+++ b/addons/web/static/src/js/core/dom.js
@@ -159,10 +159,8 @@ return {
/**
* Returns the selection range of an input or textarea
*
- * @param {Object} DOM item input or texteara
+ * @param {Object} node DOM item input or texteara
* @returns {Object} range
- * @returns {integer} range.start
- * @returns {integer} range.end
*/
getSelectionRange: function (node) {
return {
@@ -174,7 +172,7 @@ return {
* Returns the distance between a DOM element and the top-left corner of the
* window
*
- * @param {Object} node DOM element (input or texteara)
+ * @param {Object} e DOM element (input or texteara)
* @return {Object} the left and top distances in pixels
*/
getPosition: function (e) {