mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-25 20:14:09 +01:00
Update view.js
This commit is contained in:
parent
5823e27f67
commit
48e471585f
1 changed files with 4 additions and 4 deletions
|
@ -87,19 +87,19 @@ document.getElementById("sort").addEventListener("input", function(e){
|
|||
});
|
||||
|
||||
var showDraw = document.getElementById('offcanvasDraw')
|
||||
showDraw.addEventListener('show.bs.offcanvas', function() {
|
||||
showDraw.addEventListener('shown.bs.offcanvas', function() {
|
||||
wrapper.classList.remove('listHidden');
|
||||
applyView();
|
||||
})
|
||||
|
||||
var hideDraw = document.getElementById('offcanvasDraw')
|
||||
hideDraw.addEventListener('hide.bs.offcanvas', function() {
|
||||
hideDraw.addEventListener('hidden.bs.offcanvas', function() {
|
||||
wrapper.classList.add('listHidden');
|
||||
applyView();
|
||||
})
|
||||
|
||||
var showList = document.getElementById('offcanvasList')
|
||||
showList.addEventListener('show.bs.offcanvas', function(e) {
|
||||
showList.addEventListener('shown.bs.offcanvas', function(e) {
|
||||
entriesListShown = true;
|
||||
wrapper.classList.remove('listHidden');
|
||||
updateHovering(e);
|
||||
|
@ -109,7 +109,7 @@ showList.addEventListener('show.bs.offcanvas', function(e) {
|
|||
});
|
||||
|
||||
var hideList = document.getElementById('offcanvasList')
|
||||
hideList.addEventListener('hide.bs.offcanvas', function(e) {
|
||||
hideList.addEventListener('hidden.bs.offcanvas', function(e) {
|
||||
entriesListShown = false;
|
||||
wrapper.classList.add('listHidden');
|
||||
updateHovering(e);
|
||||
|
|
Loading…
Reference in a new issue