Go to parent album on ESC.

This commit is contained in:
Nils Asmussen 2016-07-30 00:00:54 +02:00
parent 55247e4f56
commit d121e2c4f6

View File

@ -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
})