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 853bed3..d792ddd 100644
--- a/js/slide-deck.js
+++ b/js/slide-deck.js
@@ -65,7 +65,7 @@ SlideDeck.prototype.loadSlide = function(slideNo) {
65SlideDeck.prototype.onDomLoaded_ = function(e) { 65SlideDeck.prototype.onDomLoaded_ = function(e) {
66 document.body.classList.add('loaded'); // Add loaded class for templates to use. 66 document.body.classList.add('loaded'); // Add loaded class for templates to use.
67 67
68 this.slides = this.container.querySelectorAll('slide:not([hidden]):not(.backdrop)'); 68 this.slides = this.container.querySelectorAll('slide:not([hidden]):not(.hidden):not(.backdrop)');
69 69
70 // If we're on a smartphone, apply special sauce. 70 // If we're on a smartphone, apply special sauce.
71 if (Modernizr.mq('only screen and (max-device-width: 480px)')) { 71 if (Modernizr.mq('only screen and (max-device-width: 480px)')) {