aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/slide-deck.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/slide-deck.js b/js/slide-deck.js
index 67b7a87..a5308b9 100644
--- a/js/slide-deck.js
+++ b/js/slide-deck.js
@@ -223,7 +223,7 @@ SlideDeck.prototype.onBodyKeyDown_ = function(e) {
223 case 87: // W: Toggle widescreen 223 case 87: // W: Toggle widescreen
224 // Only respect 'w' on body. Don't want to capture keys from an <input>. 224 // Only respect 'w' on body. Don't want to capture keys from an <input>.
225 if (e.target == document.body && !(e.shiftKey && e.metaKey)) { 225 if (e.target == document.body && !(e.shiftKey && e.metaKey)) {
226 document.querySelector('slides').classList.toggle('layout-widescreen'); 226 this.container.classList.toggle('layout-widescreen');
227 } 227 }
228 break; 228 break;
229 } 229 }