diff options
author | Friendika <info@friendika.com> | 2011-01-30 19:49:26 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-30 19:49:26 -0800 |
commit | 6935d34e7683fa2cf43092b39346c3c43cb8d38d (patch) | |
tree | c045b73002200c6859918191c542eded2c4edfaf /include/main.js | |
parent | 3eefe8b50003c858d4930c03cc06d2679a14347c (diff) | |
download | volse-hubzilla-6935d34e7683fa2cf43092b39346c3c43cb8d38d.tar.gz volse-hubzilla-6935d34e7683fa2cf43092b39346c3c43cb8d38d.tar.bz2 volse-hubzilla-6935d34e7683fa2cf43092b39346c3c43cb8d38d.zip |
disable "take me home" hotkey, different on FF (shift-home), IE ($).
Diffstat (limited to 'include/main.js')
-rw-r--r-- | include/main.js | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/main.js b/include/main.js index fcd1d6fee..a24f0ae08 100644 --- a/include/main.js +++ b/include/main.js @@ -44,12 +44,13 @@ $('#pause').html(''); } } - if(event.keyCode == '36' && event.shiftKey == true) { - if(homebase !== undefined) { - event.preventDefault(); - document.location = homebase; - } - } +// this is shift-home on FF, but $ on IE, disabling until I figure out why the diff. +// if(event.keyCode == '36' && event.shiftKey == true) { +// if(homebase !== undefined) { +// event.preventDefault(); +// document.location = homebase; +// } +// } }); }); |