diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-03-25 13:57:00 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-03-25 13:57:00 +0100 |
commit | 60457d21b437b66f6bab41ed0ae99391b3946376 (patch) | |
tree | f1bb21dfb2b5a193cf90d9ea2eacd81be39bfcdd /plugin | |
parent | 7baa8ec1fe2cd0d09ee6c034e6ebd7a07ee317c4 (diff) | |
download | perl-software-in-gnu-guix-60457d21b437b66f6bab41ed0ae99391b3946376.tar perl-software-in-gnu-guix-60457d21b437b66f6bab41ed0ae99391b3946376.tar.gz |
alt+zoom only works on slide content #1151
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/zoom-js/zoom.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/zoom-js/zoom.js b/plugin/zoom-js/zoom.js index da2c10a..95093e0 100644 --- a/plugin/zoom-js/zoom.js +++ b/plugin/zoom-js/zoom.js @@ -2,7 +2,7 @@ (function(){ var isEnabled = true; - document.querySelector( '.reveal' ).addEventListener( 'mousedown', function( event ) { + document.querySelector( '.reveal .slides' ).addEventListener( 'mousedown', function( event ) { var modifier = ( Reveal.getConfig().zoomKey ? Reveal.getConfig().zoomKey : 'alt' ) + 'Key'; var zoomPadding = 20; |