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:
parent
4d6053f680
commit
23f64ed5c9
@ -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>
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user