diff options
Diffstat (limited to 'js/slide-deck.js')
-rw-r--r-- | js/slide-deck.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/js/slide-deck.js b/js/slide-deck.js index f5d21c6..2943658 100644 --- a/js/slide-deck.js +++ b/js/slide-deck.js | |||
@@ -177,7 +177,7 @@ SlideDeck.prototype.onBodyKeyDown_ = function(e) { | |||
177 | } | 177 | } |
178 | 178 | ||
179 | // Forward keydowns to the main slides if we're the popup. | 179 | // Forward keydowns to the main slides if we're the popup. |
180 | if (this.controller && this.controller.isPresenter) { | 180 | if (this.controller && this.controller.isController) { |
181 | this.controller.sendMsg({ | 181 | this.controller.sendMsg({ |
182 | keyCode : e.keyCode | 182 | keyCode : e.keyCode |
183 | }); | 183 | }); |
@@ -504,11 +504,11 @@ SlideDeck.prototype.prevSlide = function(opt_dontPush) { | |||
504 | // Toggle off speaker notes if they're showing when we move backwards on | 504 | // Toggle off speaker notes if they're showing when we move backwards on |
505 | // the | 505 | // the |
506 | // main slides. If we're the speaker notes popup, leave them up. | 506 | // main slides. If we're the speaker notes popup, leave them up. |
507 | if (this.controller && !this.controller.isPresenter) { | 507 | // if (this.controller && !this.controller.isPresenter) { |
508 | bodyClassList.remove('with-notes'); | 508 | // bodyClassList.remove('with-notes'); |
509 | } else if (!this.controller) { | 509 | // } else if (!this.controller) { |
510 | bodyClassList.remove('with-notes'); | 510 | // bodyClassList.remove('with-notes'); |
511 | } | 511 | // } |
512 | 512 | ||
513 | this.prevSlide_ = this.curSlide_--; | 513 | this.prevSlide_ = this.curSlide_--; |
514 | 514 | ||
@@ -532,11 +532,11 @@ SlideDeck.prototype.nextSlide = function(opt_dontPush) { | |||
532 | // Toggle off speaker notes if they're showing when we advanced on the | 532 | // Toggle off speaker notes if they're showing when we advanced on the |
533 | // main | 533 | // main |
534 | // slides. If we're the speaker notes popup, leave them up. | 534 | // slides. If we're the speaker notes popup, leave them up. |
535 | if (this.controller && !this.controller.isPresenter) { | 535 | // if (this.controller && !this.controller.isPresenter) { |
536 | bodyClassList.remove('with-notes'); | 536 | // bodyClassList.remove('with-notes'); |
537 | } else if (!this.controller) { | 537 | // } else if (!this.controller) { |
538 | bodyClassList.remove('with-notes'); | 538 | // bodyClassList.remove('with-notes'); |
539 | } | 539 | // } |
540 | 540 | ||
541 | this.prevSlide_ = this.curSlide_++; | 541 | this.prevSlide_ = this.curSlide_++; |
542 | 542 | ||