Go to parent album on ESC.
This commit is contained in:
parent
55247e4f56
commit
d121e2c4f6
@ -68,7 +68,7 @@ $(document).ready(function() {
|
||||
if (basicModal.visible()===true) basicModal.cancel()
|
||||
else if (visible.contextMenu()) contextMenu.close()
|
||||
else if (visible.photo()) lychee.goto(album.getID())
|
||||
else if (visible.album()) lychee.goto()
|
||||
else if (visible.album()) lychee.goto(album.getParent())
|
||||
else if (visible.albums() && header.dom('.header__search').val().length!==0) search.reset()
|
||||
return false
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user