Added ALT + Enter support
This commit is contained in:
parent
7274704e38
commit
a74830ccc7
@ -4,6 +4,14 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
function init() {
|
||||
$(document).keydown(function(event) {
|
||||
if (event.altKey) {
|
||||
if (event.keyCode === 13) {
|
||||
event.preventDefault();
|
||||
clean();
|
||||
}
|
||||
}
|
||||
});
|
||||
$("#cleaner-clean-btn").click(function() {
|
||||
console.log("Clean button clicked");
|
||||
clean();
|
||||
|
Loading…
x
Reference in New Issue
Block a user