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:
parent
c4f812496f
commit
ef6daa5bf9
@ -92,12 +92,18 @@
|
||||
});
|
||||
|
||||
$(document).keydown(function(e){
|
||||
if( e.which === 90 && e.ctrlKey && e.shiftKey ){
|
||||
console.log('control + shift + z');
|
||||
window.location = "/{{ .Title }}/view";
|
||||
}
|
||||
if( e.which === 90 && e.ctrlKey && e.shiftKey ){
|
||||
console.log('control + shift + z');
|
||||
window.location = "/{{ .Title }}/view";
|
||||
}
|
||||
});
|
||||
|
||||
$(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