miniflux-legacy/assets/js/popup.js

10 lines
166 B
JavaScript

document.onkeypress = function(e) {
switch (e.keyCode || e.which) {
case 81: // Q
case 113: // q
window.close();
break;
}
};