From 64628c800d711c3a3c28e2bf94efd7e8b26a5eba Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 4 Jan 2011 05:06:10 -0800 Subject: provide "return home" key --- include/main.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/main.js') 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; + } }); }); -- cgit v1.2.3