@cocreate/cursors 1.11.5 → 1.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.11.6](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.5...v1.11.6) (2022-01-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * removed commented code ([6eabd19](https://github.com/CoCreate-app/CoCreate-cursors/commit/6eabd1955963b44ba6db6259f0a492ddfe2cd54a))
7
+
1
8
  ## [1.11.5](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.4...v1.11.5) (2022-01-11)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/cursors",
3
- "version": "1.11.5",
3
+ "version": "1.11.6",
4
4
  "description": "Collaborative user cursor position for inputs, textarea's and contenteditable elements.",
5
5
  "keywords": [
6
6
  "cursors",
package/src/index.js CHANGED
@@ -100,7 +100,6 @@ function drawCursors(selection) {
100
100
  element.insertAdjacentElement('afterend', mirrorDiv);
101
101
  let parent = element.parentElement;
102
102
  let parentComputed = getComputedStyle(parent);
103
- // let parentStylePosition = parent.style.position;
104
103
  let parentStylePosition = parentComputed['position'];
105
104
  if (parentStylePosition == 'static')
106
105
  parent.style.position = 'relative';