publ-echo-test 0.0.311 → 0.0.312

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.
@@ -47,6 +47,7 @@ var GridItem = function (_a) {
47
47
  if (!targetNode || isDragging || isResizing) {
48
48
  return;
49
49
  }
50
+ console.log("contains?:", targetNode.classList.contains("ccb-layout-box"));
50
51
  if (targetNode.classList.contains("ccb-layout-box")) {
51
52
  return;
52
53
  }
@@ -112,7 +113,7 @@ var GridItem = function (_a) {
112
113
  observer.observe(targetNode, config);
113
114
  // 정리 함수에서 MutationObserver 해제
114
115
  return function () {
115
- if (targetNode.id === "contentslist-box") {
116
+ if (targetNode.classList.contains("ccb-layout-box")) {
116
117
  return;
117
118
  }
118
119
  observer.disconnect();
@@ -127,7 +128,7 @@ var GridItem = function (_a) {
127
128
  if (!targetNode || isDragging || isResizing) {
128
129
  return;
129
130
  }
130
- if (targetNode.id !== "contentslist-box") {
131
+ if (!targetNode.classList.contains("ccb-layout-box")) {
131
132
  return;
132
133
  }
133
134
  var prevPaddingL = parseFloat(getComputedStyle(targetNode).paddingLeft);
@@ -263,7 +264,7 @@ var GridItem = function (_a) {
263
264
  observer.observe(targetNode, config);
264
265
  // 정리 함수에서 MutationObserver 해제
265
266
  return function () {
266
- if (targetNode.id !== "contentslist-box") {
267
+ if (!targetNode.classList.contains("ccb-layout-box")) {
267
268
  return;
268
269
  }
269
270
  observer.disconnect();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.311",
3
+ "version": "0.0.312",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",