mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-10 01:19:45 +08:00
Merge pull request #2581 from urbanrotnik/ur-sci-4640-wrong-snapshot-displayed
Hide sidebar Versions by default [SCI-4640]
This commit is contained in:
commit
1dc0e2b40b
1 changed files with 6 additions and 0 deletions
|
@ -412,6 +412,12 @@ var MyModuleRepositories = (function() {
|
|||
});
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
FULL_VIEW_MODAL.on('hidden.bs.modal', function() {
|
||||
FULL_VIEW_MODAL.find('.repository-versions-sidebar').empty();
|
||||
FULL_VIEW_MODAL.find('.modal-content').removeClass('show-sidebar');
|
||||
FULL_VIEW_MODAL.find('#showVersionsSidebar').removeClass('active');
|
||||
});
|
||||
}
|
||||
|
||||
function initRepositoryFullView() {
|
||||
|
|
Loading…
Reference in a new issue