Skip to content

Commit

Permalink
Compile TS/LESS
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 4, 2024
1 parent 129212f commit 46e4d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smiggins/templates/js/keybinds.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const keybinds = {
}
else if (dom("post-text")) {
dom("post-text").focus();
event.preventDefault();
}
} },
Enter: { allowInputs: true, requireCtrl: true, action: (event) => {
Expand Down Expand Up @@ -61,6 +60,7 @@ function keyDown(event) {
if (!((!action.allowInputs && (["textarea", "input"].includes(event.target.tagName.toLowerCase()) || event.target.isContentEditable))
|| (action.requireNav && !heldKeys[navKey])
|| (action.requireCtrl && !(heldKeys.Control || event.ctrlKey)))) {
event.preventDefault();
action.action(event);
}
}
Expand Down

0 comments on commit 46e4d8e

Please sign in to comment.