aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-04 05:06:10 -0800
committerFriendika <info@friendika.com>2011-01-04 05:06:10 -0800
commit64628c800d711c3a3c28e2bf94efd7e8b26a5eba (patch)
tree8386dd0848a3ed4e2190ef1f75f6698d44811edd /include
parent2bf99df385a54c3a8a449b9eda1d2a9877465dd1 (diff)
downloadvolse-hubzilla-64628c800d711c3a3c28e2bf94efd7e8b26a5eba.tar.gz
volse-hubzilla-64628c800d711c3a3c28e2bf94efd7e8b26a5eba.tar.bz2
volse-hubzilla-64628c800d711c3a3c28e2bf94efd7e8b26a5eba.zip
provide "return home" key
Diffstat (limited to 'include')
-rw-r--r--include/main.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/main.js b/include/main.js
index ef6b059cc..d137d4c9c 100644
--- a/include/main.js
+++ b/include/main.js
@@ -44,6 +44,11 @@
$('#pause').html('');
}
}
+ if(event.keyCode == '36') {
+ event.preventDefault();
+ if(homebase)
+ document.location = homebase;
+ }
});
});