ninegrid2 6.200.0 → 6.201.0

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.
@@ -18463,13 +18463,13 @@ class ngFilterPanel extends HTMLElement
18463
18463
 
18464
18464
  var cell = filterButton.closest("th,td");
18465
18465
 
18466
- var l = $(filterButton).offset().left - $(owner).offset().left;// - $(panel).width() + $(e.target).width() + 1;
18466
+ var l = $(filterButton).offset().left - $(owner).offset().left;// - $(this).width() + $(e.target).width() + 1;
18467
18467
  if (l < 0) l = 0;
18468
- if (l + $(panel).width() > $(owner).width()) l = $(owner).width() - $(panel).width() - 5;
18468
+ if (l + $(this).width() > $(owner).width()) l = $(owner).width() - $(this).width() - 5;
18469
18469
 
18470
18470
  var t = $(cell).offset().top + $(cell).height()- $(owner).offset().top;//$(e.target).offset().top + $(e.target).height() + 2;
18471
18471
 
18472
- //$(panel).offset({left: l, top: t});
18472
+ //$(this).offset({left: l, top: t});
18473
18473
  $(this).css({left: l, top: t});
18474
18474
 
18475
18475
 
@@ -18461,13 +18461,13 @@ class ngFilterPanel extends HTMLElement
18461
18461
 
18462
18462
  var cell = filterButton.closest("th,td");
18463
18463
 
18464
- var l = $(filterButton).offset().left - $(owner).offset().left;// - $(panel).width() + $(e.target).width() + 1;
18464
+ var l = $(filterButton).offset().left - $(owner).offset().left;// - $(this).width() + $(e.target).width() + 1;
18465
18465
  if (l < 0) l = 0;
18466
- if (l + $(panel).width() > $(owner).width()) l = $(owner).width() - $(panel).width() - 5;
18466
+ if (l + $(this).width() > $(owner).width()) l = $(owner).width() - $(this).width() - 5;
18467
18467
 
18468
18468
  var t = $(cell).offset().top + $(cell).height()- $(owner).offset().top;//$(e.target).offset().top + $(e.target).height() + 2;
18469
18469
 
18470
- //$(panel).offset({left: l, top: t});
18470
+ //$(this).offset({left: l, top: t});
18471
18471
  $(this).css({left: l, top: t});
18472
18472
 
18473
18473
 
@@ -533,13 +533,13 @@ class ngFilterPanel extends HTMLElement
533
533
 
534
534
  var cell = filterButton.closest("th,td");
535
535
 
536
- var l = $(filterButton).offset().left - $(owner).offset().left;// - $(panel).width() + $(e.target).width() + 1;
536
+ var l = $(filterButton).offset().left - $(owner).offset().left;// - $(this).width() + $(e.target).width() + 1;
537
537
  if (l < 0) l = 0;
538
- if (l + $(panel).width() > $(owner).width()) l = $(owner).width() - $(panel).width() - 5;
538
+ if (l + $(this).width() > $(owner).width()) l = $(owner).width() - $(this).width() - 5;
539
539
 
540
540
  var t = $(cell).offset().top + $(cell).height()- $(owner).offset().top;//$(e.target).offset().top + $(e.target).height() + 2;
541
541
 
542
- //$(panel).offset({left: l, top: t});
542
+ //$(this).offset({left: l, top: t});
543
543
  $(this).css({left: l, top: t});
544
544
 
545
545
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.200.0",
4
+ "version": "6.201.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -533,13 +533,13 @@ class ngFilterPanel extends HTMLElement
533
533
 
534
534
  var cell = filterButton.closest("th,td");
535
535
 
536
- var l = $(filterButton).offset().left - $(owner).offset().left;// - $(panel).width() + $(e.target).width() + 1;
536
+ var l = $(filterButton).offset().left - $(owner).offset().left;// - $(this).width() + $(e.target).width() + 1;
537
537
  if (l < 0) l = 0;
538
- if (l + $(panel).width() > $(owner).width()) l = $(owner).width() - $(panel).width() - 5;
538
+ if (l + $(this).width() > $(owner).width()) l = $(owner).width() - $(this).width() - 5;
539
539
 
540
540
  var t = $(cell).offset().top + $(cell).height()- $(owner).offset().top;//$(e.target).offset().top + $(e.target).height() + 2;
541
541
 
542
- //$(panel).offset({left: l, top: t});
542
+ //$(this).offset({left: l, top: t});
543
543
  $(this).css({left: l, top: t});
544
544
 
545
545