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
1 changed files with 7 additions and 6 deletions

View File

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