mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-12 01:11:24 +08:00
Hide sidebar on modal close
This commit is contained in:
parent
7e009ab8ee
commit
ea0e97d046
1 changed files with 6 additions and 0 deletions
|
|
@ -412,6 +412,12 @@ var MyModuleRepositories = (function() {
|
||||||
});
|
});
|
||||||
e.stopPropagation();
|
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() {
|
function initRepositoryFullView() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue