Skip to content

Commit

Permalink
fix command+shift+b
Browse files Browse the repository at this point in the history
  • Loading branch information
SichangHe committed Oct 27, 2024
1 parent bbacc8b commit 4f50c47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/notes/class_notes/csci670.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# Advanced Analysis of Algorithms

6hw + 3qz + 2 theoretical thinking project

RTH505

quiz 1 up to greedy

## theory overview

NP&P → **decision problem** on `&[u1]` (language)\
Expand Down
4 changes: 2 additions & 2 deletions theme/js/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
const toc_toggle = document.getElementById("toc-toggle");
document.addEventListener("keydown", (e) => {
if (e.ctrlKey ^ e.metaKey) {
if (e.key === "b") {
if (e.key === "b" && !e.shiftKey) {
sidebar_toggle.click();
} else if (e.key === "B") {
} else if (e.key.toUpperCase() === "B") {
toc_toggle.click();
}
}
Expand Down

0 comments on commit 4f50c47

Please sign in to comment.