Keyboard shortcut for home
parent
fee48a2663
commit
9678c286ab
|
@ -1111,6 +1111,9 @@ jQuery(function($) {
|
||||||
}
|
}
|
||||||
window.scrollTo(0, document.body.scrollHeight);
|
window.scrollTo(0, document.body.scrollHeight);
|
||||||
});
|
});
|
||||||
|
$document.bind('keydown', 'h', function() {
|
||||||
|
window.location = '/';
|
||||||
|
});
|
||||||
$document.bind('keydown', 'j', function() {
|
$document.bind('keydown', 'j', function() {
|
||||||
if (!$selected) {
|
if (!$selected) {
|
||||||
SniptList.$snipts.eq(0).trigger('select');
|
SniptList.$snipts.eq(0).trigger('select');
|
||||||
|
|
|
@ -139,6 +139,9 @@
|
||||||
}
|
}
|
||||||
window.scrollTo(0, document.body.scrollHeight);
|
window.scrollTo(0, document.body.scrollHeight);
|
||||||
});
|
});
|
||||||
|
$document.bind('keydown', 'h', function() {
|
||||||
|
window.location = '/';
|
||||||
|
});
|
||||||
$document.bind('keydown', 'j', function() {
|
$document.bind('keydown', 'j', function() {
|
||||||
if (!$selected) {
|
if (!$selected) {
|
||||||
SniptList.$snipts.eq(0).trigger('select');
|
SniptList.$snipts.eq(0).trigger('select');
|
||||||
|
|
Loading…
Reference in New Issue