aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/slides.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/slides.js b/js/slides.js
index eee44ee..3f2366b 100644
--- a/js/slides.js
+++ b/js/slides.js
@@ -123,6 +123,10 @@ SlideDeck.prototype.onBodyKeyDown_ = function(e) {
123 e.preventDefault(); 123 e.preventDefault();
124 break; 124 break;
125 125
126 case 72: // H
127 document.body.classList.toggle('highlight-code');
128 break;
129
126 case 78: // N 130 case 78: // N
127 document.body.classList.toggle('with-notes'); 131 document.body.classList.toggle('with-notes');
128 break; 132 break;