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

Former-commit-id: 860eb54b7562072dba6bd21a1fbba69478ff4433 [formerly 47149319eb8c86db27b3e6b6c0d1193b0870edef] [formerly 445e8c1f0e7471d254ec5af2e887a72d0bfa3e06 [formerly 23f64ed5c9]]
Former-commit-id: 42ca41fd02518c21258e84ed8877aba308615ab0 [formerly e39a7870a602b9a13bfd4f0f9a956d6323a441e3]
Former-commit-id: 6a407d46140a7de3dc9a7350e67a374908d12b88
This commit is contained in:
Zack Scholl 2016-02-10 20:43:51 -05:00
parent c4f812496f
commit ef6daa5bf9
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>