mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
It is now possible to scroll down preview modal
This commit is contained in:
parent
d0a9198408
commit
11dc3be9d4
1 changed files with 6 additions and 0 deletions
|
@ -18,5 +18,11 @@ HelperModule.flashAlertMsg(' <%= t('my_modules.protocols.load_from_file_invalid_
|
|||
);
|
||||
<% end %>
|
||||
$('#modal-import-json-protocol-preview').modal('show');
|
||||
$('.modal').on('hidden.bs.modal', function (e) {
|
||||
if($('.modal').hasClass('in')) {
|
||||
$('body').addClass('modal-open');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue