Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 0693480

Browse files
authored
Merge pull request #767 from tedk13/tk-717
Fix info-box jank
2 parents 93c8241 + 0273ccd commit 0693480

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ritterim/platform-ui",
3-
"version": "1.4.11",
3+
"version": "1.4.12",
44
"description": "A CSS framework used by Ritter Insurance Marketing (RIM) for our platform of agent tools.",
55
"homepage": "https://style.rimdev.io",
66
"main": "gulpfile.js",

src/assets/js/src/info-box.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if (infoBoxes) {
1313

1414
closeButtons.forEach((closeButton) => {
1515
closeButton.addEventListener('click', () => {
16-
content.parentElement.classList.add('active');
16+
content.parentElement.classList.remove('active');
1717
});
1818
});
1919
});

version-history.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Version History
22

33
---
4+
# 1.4.12
5+
- Bug: remove active class on info-box when clicking info-box__close
46
# 1.4.11
57
- max-container class for adding max-width on block-containers
68
# 1.4.10

0 commit comments

Comments
 (0)