()
| 138 | } |
| 139 | |
| 140 | function updateBubblePosition() { |
| 141 | var selection = window.getSelection(); |
| 142 | var range = selection.getRangeAt(0); |
| 143 | var boundary = range.getBoundingClientRect(); |
| 144 | |
| 145 | textOptions.style.top = boundary.top - 5 + window.pageYOffset + "px"; |
| 146 | textOptions.style.left = (boundary.left + boundary.right)/2 + "px"; |
| 147 | } |
| 148 | |
| 149 | function updateBubbleStates() { |
| 150 |
no outgoing calls
no test coverage detected