aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-04 14:35:12 -0800
committerFriendika <info@friendika.com>2011-01-04 14:35:12 -0800
commit45d8676dc294b3d275a5d62138ad3c0dcfa8fc13 (patch)
tree2b2096ced37dab66b940279550dda60c5451d604 /include
parent64628c800d711c3a3c28e2bf94efd7e8b26a5eba (diff)
downloadvolse-hubzilla-45d8676dc294b3d275a5d62138ad3c0dcfa8fc13.tar.gz
volse-hubzilla-45d8676dc294b3d275a5d62138ad3c0dcfa8fc13.tar.bz2
volse-hubzilla-45d8676dc294b3d275a5d62138ad3c0dcfa8fc13.zip
use shift-home instead to take you home
Diffstat (limited to 'include')
-rw-r--r--include/main.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/main.js b/include/main.js
index d137d4c9c..5c4363690 100644
--- a/include/main.js
+++ b/include/main.js
@@ -44,10 +44,11 @@
$('#pause').html('');
}
}
- if(event.keyCode == '36') {
- event.preventDefault();
- if(homebase)
+ if(event.keyCode == '36' && event.shiftKey == true) {
+ if(homebase !== undefined) {
+ event.preventDefault();
document.location = homebase;
+ }
}
});
});