Skip to content

Commit 7c0a105

Browse files
committed
Fixed body scroll reset to top when opening related modal. #150
1 parent c8ababb commit 7c0a105

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

admin_interface/static/admin_interface/related-modal/related-modal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined')
108108
// open the popup using magnific popup
109109
$.magnificPopup.open({
110110
mainClass: iframeInternalModalClass,
111+
fixedContentPos: false,
111112
showCloseBtn: true,
112113
closeBtnInside: true,
113114
items: {

0 commit comments

Comments
 (0)