relative folders
This commit is contained in:
@@ -147,6 +147,10 @@ function filter(ev) {
|
||||
if (ev == null) { return }
|
||||
var key=ev.keyCode;
|
||||
if (key==13){
|
||||
/* If search starts with / "cd" to that folder. (also /.. works)*/
|
||||
if (needle.startsWith("/")) {
|
||||
window.location.href = needle.substring(1);
|
||||
}
|
||||
if (c==0) { document.getElementById('filter').focus(); }
|
||||
if (c==1) { open_link(lastHit); }
|
||||
if (c>1) {
|
||||
|
||||
Reference in New Issue
Block a user