Skip to content

Commit 58106b9

Browse files
authored
nganu
1 parent a4a35f2 commit 58106b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,10 +393,11 @@
393393
document.addEventListener('keydown', function(e) {
394394
const isControlOrCommand = e.ctrlKey || e.metaKey;
395395
const key = e.key ? e.key.toUpperCase() : '';
396-
if (e.keyCode === 123 || (isControlOrCommand && key === 'U') || (isControlOrCommand && e.shiftKey && (key === 'I' || key === 'J' || key === 'C'))) {
396+
if (e.keyCode === 123 || (isControlOrCommand && key === 'U') || (isControlOrCommand && key === 'F') || (isControlOrCommand && e.shiftKey && (key === 'I' || key === 'J' || key === 'C'))) {
397397
e.preventDefault();
398398
}
399399
});
400400
</script>
401401
</body>
402402
</html>
403+

0 commit comments

Comments
 (0)