-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(SHS-5955): Replace patch URL with local patch
- Loading branch information
1 parent
bd1f604
commit 9eda02b
Showing
3 changed files
with
32 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From d7b41e153f421a416fdd66572a6767efd14f8e8a Mon Sep 17 00:00:00 2001 | ||
From: sandippoddar <[email protected]> | ||
Date: Tue, 7 Jan 2025 12:36:41 +0530 | ||
Subject: [PATCH] Issue #3497768: Click JavaScript to close details causes | ||
modals to scroll unnecessarily | ||
|
||
--- | ||
js/block-class.js | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/js/block-class.js b/js/block-class.js | ||
index 9eedf9b..343285c 100644 | ||
--- a/js/block-class.js | ||
+++ b/js/block-class.js | ||
@@ -19,10 +19,10 @@ | ||
$('.show-items-used').css( "display", "none" ); | ||
|
||
// Collapse the details field when the Modal is open. | ||
- $('.replaced-id-details').find('summary').trigger( "click" ); | ||
+ $('.replaced-id-details').removeAttr("open"); | ||
|
||
// Collapse the attribute as well on this scenario. | ||
- $('.attribute-details').find('summary').trigger( "click" ); | ||
+ $('.attribute-details').removeAttr("open"); | ||
|
||
} | ||
|
||
-- | ||
GitLab | ||
|