1
0
Fork 0

disable "take me home" hotkey, different on FF (shift-home), IE ($).

This commit is contained in:
Friendika 2011-01-30 19:49:26 -08:00
parent 3eefe8b500
commit 6935d34e76

View file

@ -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;
// }
// }
});
});