vgr-komponentkartan
Advanced tools
Comparing version 0.0.24 to 0.0.25
@@ -20,4 +20,7 @@ "use strict"; | ||
//If we click on an element INSIDE the header, get a reference to the actual header first | ||
if (!header.hasClass("expandable-container__header")) | ||
if (!header.hasClass("expandable-container__header")) { | ||
if (header.parents(".expandable-container__header").length === 0) | ||
return; | ||
header = header.closest(".expandable-container__header"); | ||
} | ||
//Slide clicked panel up/down | ||
@@ -24,0 +27,0 @@ header.next(".expandable-container__content").slideToggle(400); |
@@ -20,5 +20,8 @@ import { Component, HostListener } from "@angular/core"; | ||
//If we click on an element INSIDE the header, get a reference to the actual header first | ||
if (!header.hasClass("expandable-container__header")) | ||
if (!header.hasClass("expandable-container__header")) { | ||
if (header.parents(".expandable-container__header").length === 0) | ||
return; | ||
header = header.closest(".expandable-container__header"); | ||
} | ||
//Slide clicked panel up/down | ||
@@ -25,0 +28,0 @@ header.next(".expandable-container__content").slideToggle(400); |
{ | ||
"name": "vgr-komponentkartan", | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"author": "Västra Götalandsregionen", | ||
"scripts": { | ||
"[start-app]": "concurrent \"npm run _copy-fonts\" \"npm run _watch-typescript\" \"npm run _local-webserver\" \"npm run _watch-css\"", | ||
"[start-app]": "concurrent \"npm run _watch-typescript\" \"npm run _local-webserver\" \"npm run _watch-css\"", | ||
"_compile-typescript": "tsc", | ||
@@ -8,0 +8,0 @@ "_watch-typescript": "tsc -w", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1490164
27202
95
1