disable "take me home" hotkey, different on FF (shift-home), IE ($).
This commit is contained in:
parent
3eefe8b500
commit
6935d34e76
|
@ -44,12 +44,13 @@
|
||||||
$('#pause').html('');
|
$('#pause').html('');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(event.keyCode == '36' && event.shiftKey == true) {
|
// this is shift-home on FF, but $ on IE, disabling until I figure out why the diff.
|
||||||
if(homebase !== undefined) {
|
// if(event.keyCode == '36' && event.shiftKey == true) {
|
||||||
event.preventDefault();
|
// if(homebase !== undefined) {
|
||||||
document.location = homebase;
|
// event.preventDefault();
|
||||||
}
|
// document.location = homebase;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue