mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 03:35:25 +08:00
Initialize pdf preview on galery swtich [SCI-5342] (#3044)
This commit is contained in:
parent
b3faa170fb
commit
0d1939e405
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ var FilePreviewModal = (function() {
|
|||
e.stopPropagation();
|
||||
$.get($(this).attr('href'), { gallery: $(this).data('gallery-elements') }, function(result) {
|
||||
$('#filePreviewModal .modal-content').html(result.html);
|
||||
PdfPreview.initCanvas();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue