ublo-lib 1.23.4 → 1.23.5

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.
@@ -6,8 +6,10 @@ export function removeFilter() {
6
6
  filtrables.forEach(section => {
7
7
  if (section.originalDisplayStyle !== undefined) {
8
8
  section.style.display = section.originalDisplayStyle;
9
- section.removeAttribute("data-full");
9
+ } else {
10
+ section.style.removeProperty("display");
10
11
  }
12
+ section.removeAttribute("data-full");
11
13
  });
12
14
  }
13
15
  export function filter(week) {
@@ -25,8 +25,10 @@ const removeSectionFilters = () => {
25
25
  Array.prototype.forEach.call(filtrables, section => {
26
26
  if (section.originalDisplayStyle !== undefined) {
27
27
  section.style.display = section.originalDisplayStyle;
28
- section.removeAttribute("data-full");
28
+ } else {
29
+ section.style.removeProperty("display");
29
30
  }
31
+ section.removeAttribute("data-full");
30
32
  });
31
33
  };
32
34
  const filterSections = week => {
@@ -25,8 +25,10 @@ const removeSectionFilters = () => {
25
25
  filtrables.forEach(section => {
26
26
  if (section.originalDisplayStyle !== undefined) {
27
27
  section.style.display = section.originalDisplayStyle;
28
- section.removeAttribute("data-full");
28
+ } else {
29
+ section.style.removeProperty("display");
29
30
  }
31
+ section.removeAttribute("data-full");
30
32
  });
31
33
  };
32
34
  const filterSections = week => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.23.4",
3
+ "version": "1.23.5",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.1.5",
6
6
  "leaflet": "^1.9.1",