mirror of
https://github.com/friendica/friendica
synced 2024-11-19 03:03:41 +00:00
disable "take me home" hotkey, different on FF (shift-home), IE ($).
This commit is contained in:
parent
3eefe8b500
commit
6935d34e76
1 changed files with 7 additions and 6 deletions
|
@ -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;
|
||||
// }
|
||||
// }
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue