aboutsummaryrefslogtreecommitdiffstats
path: root/include/main.js
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-30 19:49:26 -0800
committerFriendika <info@friendika.com>2011-01-30 19:49:26 -0800
commit6935d34e7683fa2cf43092b39346c3c43cb8d38d (patch)
treec045b73002200c6859918191c542eded2c4edfaf /include/main.js
parent3eefe8b50003c858d4930c03cc06d2679a14347c (diff)
downloadvolse-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.js13
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;
+// }
+// }
});
});