protvista-uniprot 4.6.0 → 4.6.1
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.
|
@@ -96011,7 +96011,9 @@ let TAe = class extends hw {
|
|
|
96011
96011
|
</div>`;
|
|
96012
96012
|
}
|
|
96013
96013
|
handleCategoryClick(e) {
|
|
96014
|
-
|
|
96014
|
+
let t = e.target;
|
|
96015
|
+
t instanceof HTMLSpanElement && (t = t.parentElement);
|
|
96016
|
+
const r = t.getAttribute("data-category-toggle");
|
|
96015
96017
|
r && !t.classList.contains("open") ? (t.classList.add("open"), this.openCategories = [...this.openCategories, r]) : (t.classList.remove("open"), this.openCategories = [...this.openCategories].filter(
|
|
96016
96018
|
(n) => n !== r
|
|
96017
96019
|
));
|