1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Added Ctl+Shift+L for list

This commit is contained in:
Zack Scholl 2016-02-10 20:43:51 -05:00
parent 4d6053f680
commit 23f64ed5c9
3 changed files with 31 additions and 4 deletions

View File

@ -98,6 +98,12 @@
}
});
$(document).keydown(function(e){
if( e.which === 76 && e.ctrlKey && e.shiftKey ){
console.log('control + shift + l');
window.location = "/{{ .Title }}/list";
}
});
</script>

View File

@ -70,6 +70,20 @@
}
});
$(document).keydown(function(e){
if( e.which === 69 && e.ctrlKey && e.shiftKey ){
console.log('control + shift + e');
window.location = "/{{ .Title }}";
}
});
$(document).keydown(function(e){
if( e.which === 90 && e.ctrlKey && e.shiftKey ){
console.log('control + shift + z');
window.location = "/{{ .Title }}/view";
}
});
</script>
</body>

View File

@ -75,6 +75,13 @@ $(document).keydown(function(e){
});
$(document).keydown(function(e){
if( e.which === 76 && e.ctrlKey && e.shiftKey ){
console.log('control + shift + l');
window.location = "/{{ .Title }}/list";
}
});
</script>
</body>