Skip to content

Commit 88a4cd7

Browse files
committed
Fix JavaScript formatting
(cherry picked from commit 62dbda9) From pull request: * #10818
1 parent fd57929 commit 88a4cd7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/js/components/dropdowns/templates.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ function dropdown() {
3737
duration: 250,
3838
onShow: (instance) => {
3939
// Make sure only one instance is visible at all times in case of breadcrumb
40-
if(instance.reference.classList.contains('hoverable-model-link') || instance.reference.classList.contains('hoverable-children-model-link')) {
40+
if (
41+
instance.reference.classList.contains("hoverable-model-link") ||
42+
instance.reference.classList.contains("hoverable-children-model-link")
43+
) {
4144
const dropdowns = document.querySelectorAll("[data-tippy-root]");
4245
Array.from(dropdowns).forEach((element) => {
4346
// Check if the Tippy.js instance exists

0 commit comments

Comments
 (0)