Added ALT + Enter support

This commit is contained in:
Max W. 2024-05-19 00:02:24 +02:00
parent 7274704e38
commit a74830ccc7

View File

@ -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();