diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js index bf2f6a0..d0178d4 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -523,6 +523,13 @@ // Prevent transitions while we're loading dom.slides.classList.add( 'no-transition' ); + if( isMobileDevice ) { + dom.wrapper.classList.add( 'no-hover' ); + } + else { + dom.wrapper.classList.remove( 'no-hover' ); + } + // Background element dom.background = createSingletonNode( dom.wrapper, 'div', 'backgrounds', null ); |