diff options
author | Thomas Muehlichen <ext_github_tm@linkwerk.com> | 2015-03-25 13:29:03 +0100 |
---|---|---|
committer | Thomas Muehlichen <ext_github_tm@linkwerk.com> | 2015-03-25 13:29:03 +0100 |
commit | fbcbc3c8a2ffef1628ac13a80c21573e61455723 (patch) | |
tree | aa169ea50aeb0d19fecfe01e0565c522c89c66ab /src/static/js | |
parent | e8d85c1173353693934cf0fdc396b7f0432f9504 (diff) | |
download | etherpad-lite-fbcbc3c8a2ffef1628ac13a80c21573e61455723.zip |
feature #2558 more precise documentation
Diffstat (limited to 'src/static/js')
-rw-r--r-- | src/static/js/AttributeManager.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/static/js/AttributeManager.js b/src/static/js/AttributeManager.js index d2ec324b..b822caee 100644 --- a/src/static/js/AttributeManager.js +++ b/src/static/js/AttributeManager.js @@ -166,7 +166,8 @@ AttributeManager.prototype = _(AttributeManager.prototype).extend({ }, /* - Gets all attributes at caret position + Gets all attributes at caret position + if the user selected a range, the start of the selection is taken */ getAttributesOnCaret: function(){ return this.getAttributesOnPosition(this.rep.selStart[0], this.rep.selStart[1]); |